Skip to content

Instantly share code, notes, and snippets.

View tensorAI's full-sized avatar
:octocat:
I may be slow to respond.

tensorAI

:octocat:
I may be slow to respond.
View GitHub Profile
#!/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
#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