# From tensorflow/models/research/
protoc object_detection/protos/*.proto --python_out=.'
I suspect my protoc version is at fault, but has no proof. For those of you who were able to install Tensorflow object detection API on TX2, what version of protoc did you use?
Are there any special steps besided the official instructions?
Hi,
I think I found the solution to my issue.
I want to clarify that I did have Tensorflow installed on TX2 successfully before posting this topic.
Having Tensorflow installed is not the same as having Tensorflow Object Detection API installed.
I believe the latter depends on the former being installed first.
Save the protoc-3.6.1-linux-aarch_64.zip to tensorflow/models/research/
# From tensorflow/models/research/
unzip protoc-3.6.1-linux-aarch_64.zip
Run the compilation process
# From tensorflow/models/research/
./bin/protoc object_detection/protos/*.proto --python_out=.
The remaining process is based on the official instructions:
# From tensorflow/models/research/
export PYTHONPATH=$PYTHONPATH:`pwd`:`pwd`/slim
Test that Tensorflow Object Detection API is correctly installed by running the following command:
# From tensorflow/models/research/
python3 object_detection/builders/model_builder_test.py
Here are my test results.
................./usr/local/lib/python3.5/dist-packages/tensorflow/python/util/tf_inspect.py:75: DeprecationWarning: inspect.getargspec() is deprecated, use inspect.signature() instead
return _inspect.getargspec(target)
.....
----------------------------------------------------------------------
Ran 22 tests in 0.449s
OK