microwerx

mlpipip3.sh

Jul 16th, 2020 (edited)
1,157
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.87 KB | None | 0 0
  1. #!/bin/bash
  2.  
  3. # Need to run
  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. /usr/games/cowsay "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. /usr/games/cowsay "Installing OpenCV"
  20. pip3 install picamera[array]
  21. pip3 install opencv-contrib-python
  22. pip3 install mtcnn
  23.  
  24. deactivate
  25. exit 0
  26.  
  27. /usr/games/cowsay "Installing Tensorflow"
  28. # Tensorflow + Keras
  29. pip3 install tensorflow
  30. pip3 install tensorflow-tensorboard
  31. pip3 install tensorflow-hub
  32. pip3 install tfds-nightly
  33. pip3 install keras-tuner
  34. pip3 install keras-vggface
  35.  
  36. /usr/games/cowsay "Installing online tools"
  37. # Install from web
  38. pip3 install git+https://github.com/tensorflow/docs
  39.  
  40. deactivate
  41.  
Add Comment
Please, Sign In to add comment