-
Notifications
You must be signed in to change notification settings - Fork 45.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Object Detection: Protobuf files fail to compile with v.2.6.1 protobuf-compiler #4047
Comments
The solution recommended did not end up working for runtime. Apparently there are Protobuf2 dependencies. Ended up finding out the issue with Protobuf2 compilation. A week ago a new introduction was added that broke compilation of ssd.proto line 87 6b72b5c Removed that line and tests pass. Able to run tutorial to completion successfully now. |
Meet this issue, too. But thanks to @mastash3ff's solution, it works. |
@huzq85 What line did you remove? |
@mastash3ff what line should I remove please |
@AliceDinh , line 87: reserved 6; |
We updated the installation dependencies to require Protobuf 3+. |
The instructions list Protobuf 3+ as a dependency, but provide examples on Ubuntu 16.04 that install the protobuf 2 compiler: sudo apt-get install protobuf-compiler python-pil python-lxml python-tk The problem is that many people are still using Ubuntu 16.04 (tensorflow default build platform), and there aren't any convenient packages on 16.04 that provide the newer protobuf compiler. So the install docs don't actually work unless you remove the 'reserved' keyword. |
The latest clone has |
Problem
Failure to compile .protos with Ubuntu 16.04.4 'protobuf-compiler' v2.6.1 package.
Solution
Edit: Not the correct solution - See following comment
Compiled Protobuf from source, v3.5.1, and it fixed the issue with compiling. Installation instructions state to use Protobuf 2.6. This may need to be reconsidered.
https://github.com/tensorflow/models/blob/master/research/object_detection/g3doc/installation.md
The text was updated successfully, but these errors were encountered: