This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
#setup a new project called 'tf_object_detection' | |
#open terminal and copy this .sh file to new project folder | |
# cp ~/object_detection_pycharm.py | |
#run this script from terminal | |
apt update | |
pip install --upgrade pip | |
#install tensorflow | |
pip install --upgrade tensorflow-gpu |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#object detection using tensorflow object detection API | |
#tensorflow >= 1.12.0 | |
#!/bin/bash | |
sudo apt update | |
sudo pip install -U virtualenv # system-wide install | |
virtualenv --system-site-packages -p python2.7 ./tf_object_detection | |
source ./tf_object_detection/bin/activate # sh, bash, ksh, or zsh | |
pip install --upgrade pip |