Unable to compile .proto files for Tensorflow obje

2019-08-23 02:35发布

I'm trying to install Tensorflow and im having trouble compiling the .proto files.

I try running this command in the research folder:
C:/protoc/bin/protoc object_detection/protos/*.proto --python_out=.

but it outputs: object_detection/protos/*.proto: No such file or directory

Any idea why this is happening?

标签: python protoc
2条回答
你好瞎i
2楼-- · 2019-08-23 02:50

This code works for me, try it

protoc-3.4.0-win32\bin\protoc object_detection/protos/*.proto --python_out=.

protoc-3.4.0-win32\bin\protoc is path to protoc.exe file

查看更多
Animai°情兽
3楼-- · 2019-08-23 03:13

I have found a solution, it is cumbersome. It works if i compile them one by one.

e.g. C:/protoc/bin/protoc object_detection/protos/anchor_generator.proto --python_out=.

Where C:/protoc/bin/protoc is the path to protoc.exe file

查看更多
登录 后发表回答