Skip to content

object_detection API protoc installation step fails #4002

@radzfoto

Description

@radzfoto

System information

  • What is the top-level directory of the model you are using: ~/tensorflow/models/research
  • Have I written custom code (as opposed to using a stock example script provided in TensorFlow): NO
  • OS Platform and Distribution (e.g., Linux Ubuntu 16.04): Linux Ubuntu 16.04
  • TensorFlow installed from (source or binary): binary
  • TensorFlow version (use command below): v1.7.0-3-g024aecf414 1.7.0
  • Bazel version (if compiling from source): N/A
  • CUDA/cuDNN version: Cuda compilation tools, release 9.0, V9.0.176, CUDNN: 7.0.4.31-1+cuda9.0
  • GPU model and memory: nVidia Titan Xp, 12GB, driver 390.48
  • Exact command to reproduce: protoc object_detection/protos/*.proto --python_out=.

Describe the problem

I followed object_detection installation instructions step by step. When I tried protoc command, .proto files could not be compiled to .py files.

I issued this command:

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

And obtained these errors:

object_detection/protos/ssd.proto:87:3: Expected "required", "optional", or "repeated".
object_detection/protos/ssd.proto:87:12: Expected field name.
object_detection/protos/model.proto: Import "object_detection/protos/ssd.proto" was not found or had errors.
object_detection/protos/model.proto:12:5: "Ssd" is not defined.

Note that all the .proto files exist including ssd.proto.

Source code / logs

No custom source code. Just following object_detection API installation instructions

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions