Failed to install Tensorflow object detection API on TX2

Hello everyone,

Recently, I followed the official instructios ( to install Tensorflow object detection API on TX2, I experienced a failure when compiling the .proto files at the following step.

# 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?

Thanks in advance.

Hi chenyu36,

Please refer to below topics:


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.

The models I used are from release 1.11

I have to download the latest protobuf which is 3.6.1 as of this writing, using the link
Note: is for linux-aarch_64 architecture, instead of the linux-x86.

Save the to tensorflow/models/research/

# From tensorflow/models/research/

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/

Here are my test results.

................./usr/local/lib/python3.5/dist-packages/tensorflow/python/util/ DeprecationWarning: inspect.getargspec() is deprecated, use inspect.signature() instead
  return _inspect.getargspec(target)
Ran 22 tests in 0.449s