close

install object detection API ...

 

 

 

 

https://github.com/tensorflow/models

git clone to C:\

 

 

 

 

install cuda 9.0

 

 

 

 

install cudnn 7 for cuda 9.0

 

 

 

 

https://www.python.org/downloads/release/python-354/ 

install python 3.5.4 for windows

 

 

 

 

pip install --upgrade tensorflow-gpu

pip install protobuf

pip install pillow

pip install lxml

pip install Cython

pip install jupyter

pip install matplotlib

pip install pandas

pip install opencv-python

 

 

 

 

 

set PYTHONPATH=C:\tensorflow\branches\MarkDaoust-patch-1;C:\tensorflow\branches\MarkDaoust-patch-1\research;C:\tensorflow\branches\MarkDaoust-patch-1\research\slim

set PYTHONPATH environment variable

 

 

 

 

install protoc 3.4

 

 

 

 

 

cd C:\tensorflow\branches\MarkDaoust-patch-1\research

protoc --python_out=. .\object_detection\protos\*.proto

make proto files

 

 

 

 

python setup.py build

python setup.py setup

 

 

 

 

cd C:\tensorflow\branches\MarkDaoust-patch-1\research\object_detection

jupyter notebook object_detection_tutorial.ipynb

 

 

 

 

run to end

 

 

 

 

wait for a while then get the example result

done~

arrow
arrow

    scud 發表在 痞客邦 留言(0) 人氣()