-
Notifications
You must be signed in to change notification settings - Fork 2
Drone Detector Install Directions
pip install tensorflow
pip install tensorflow-gpu
sudo apt-get install protobuf-compiler python-pil python-lxml
sudo -H pip install jupyter
sudo -H pip install matplotlib
mkdir protoc_3.3
cd protoc_3.3/
wget wget https://github.com/google/protobuf/releases/download/v3.3.0/protoc-3.3.0-linux-x86_64.zip
chmod 775 protoc-3.3.0-linux-x86_64.zip
unzip protoc-3.3.0-linux-x86_64.zip
$(YOUR TENSORFLOW DIRECTORY PATH)/protoc_3.3/bin/protoc object_detection/protos/*.proto --python_out=.tensorflow/models
export PYTHONPATH=$PYTHO$ NPATH:pwd:pwd/slim
sudo python setup.py build
sudo python setup.py install
In your ~/.bashrc file, add this line to the bottom:
export PYTHONPATH='$PYTHONPATH:$(PATH TO TENSORFLOW)/models/research
:$(PATH TO TENSORFLOW)/models/research/slim'
Run from the directory where you cloned the Tensorflow models repo:
python models/research/object_detection/builders/model_builder_test.py