Object Detection API
on ubuntu 16.04
Post date: 2017/11/20 10:31:09
1. Install
$ sudo pip3 install protobuf pillow lxml jupyter matplotli
$ sudo apt-get install protobuf-compiler python3-tk
$ mkdir src/tensorflow $ cd src/tensorflow
$ git clone https://github.com/tensorflow/models.git
$ model/research
$ protoc object_detection/protos/*.proto --python_out=.
2. Test
$ source ~/tensorflow/bin/activate
(tensorflow) $ cd src/tensorflow/models/research
(tensorflow) $ export PYTHONPATH=$PYTHONPATH:`pwd`:`pwd`/slim
(tensorflow) $ python object_detection/builders/model_builder_test.py
(tensorflow) $ python object_detection/builders/model_builder_test.py
........... ---------------------------------------------------------------------- Ran 11 tests in 0.057s OK
(tensorflow) $
3. Run
Ref.: