PortiloopDemo / installation.sh
MiloSobral's picture
Adding support for Portiloop V2
086b12f
raw
history blame
1.16 kB
#!/bin/bash
# echo "Installing dependencies with apt-get..."
# sudo apt-get update
# sudo apt-get install -y python3-matplotlib python3-scipy python3-dev libasound2-dev jupyter-notebook jupyter
# echo "done"
# echo "Installing latest pycoral and tflite-runtime..."
# wget https://github.com/google-coral/pycoral/releases/download/v2.0.0/pycoral-2.0.0-cp37-cp37m-linux_aarch64.whl
# wget https://github.com/google-coral/pycoral/releases/download/v2.0.0/tflite_runtime-2.5.0.post1-cp37-cp37m-linux_aarch64.whl
# pip3 uninstall tflite-runtime
# pip3 uninstall pycoral
# pip3 install tflite_runtime-2.5.0.post1-cp37-cp37m-linux_aarch64.whl
# pip3 install pycoral-2.0.0-cp37-cp37m-linux_aarch64.whl
# echo "done"
echo "Cloning the portiloop repo..."
git clone https://github.com/Portiloop/portiloop-software.git
echo "done"
echo "Installing the dependencies... [This may take a while]"
cd portiloop-software && pip3 install -e .
echo "done"
echo "Activating the widgets for the jupyter notebook..."
jupyter nbextension enable --py widgetsnbextension
echo "done"
echo "Creating workspace directory..."
mkdir workspace
mkdir workspace/edf_recording
echo "done"