[에러 메세지]

object_detection/protos/anchor_generator.proto:11:3: Expected "required", "optional", or "repeated".

object_detection/protos/anchor_generator.proto:11:32: Missing field number.


[에러 원인]

protoc ver 3.3. 설치 필요


[해결 방안]

tensorflow$ mkdir protoc_3.3

tensorflow$ cd protoc_3.3
tensorflow/protoc_3.3$ wget https://github.com/google/protobuf/releases/download/v3.3.0/protoc-3.3.0-linux-x86_64.zip
tensorflow/protoc_3.3$ chmod 775 protoc-3.3.0-linux-x86_64.zip
tensorflow/protoc_3.3$ unzip protoc-3.3.0-linux-x86_64.zip
tensorflow/protoc_3.3$ cd ../models/
tensorflow/protoc_3.3$ ../protoc_3.3/bin/protoc object_detection/protos/*.proto --python_out=.



[참고]

https://github.com/tensorflow/models/issues/1834



+ Recent posts