Advertisement
microwerx

mlmacpip3.sh

Aug 4th, 2020 (edited)
264
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.88 KB | None | 0 0
  1. #!/bin/bash
  2.  
  3. echo "Creating VENV 'mlpi'"
  4. python3 -m venv --system-site-packages mlpi
  5. source mlpi/bin/activate
  6.  
  7. pip3 install --upgrade pip
  8. pip3 install setuptools
  9.  
  10. echo "Installing Python Packages"
  11. # Machine Learning Tools
  12. pip3 install jupyter
  13. pip3 install pandas
  14. pip3 install seaborn
  15. # pip3 install torch
  16. pip3 install scikit-image
  17. pip3 install mtcnn
  18.  
  19. echo "Installing OpenCV"
  20. # pip3 install picamera[array]
  21. pip3 install opencv-contrib-python
  22.  
  23. echo "Installing Tensorflow"
  24. # Tensorflow + Keras
  25. pip3 install tensorflow
  26. pip3 install tensorflow-tensorboard
  27. pip3 install tensorflow-hub
  28. pip3 install tfds-nightly
  29. pip3 install keras-tuner
  30. pip3 install keras-vggface
  31.  
  32. echo "Installing online tools"
  33. # Install from web
  34. pip3 install git+https://github.com/tensorflow/docs
  35.  
  36. echo "All finished, leaving VENV 'mlpi'. Run 'mlstart.sh' to start Jupiter Notebook"
  37. deactivate
  38.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement