无法为Tensorflow对象检测API编译.proto文件 [英] Unable to compile .proto files for Tensorflow object-detection API
问题描述
我正在尝试安装Tensorflow,但无法编译.proto文件.
I'm trying to install Tensorflow and im having trouble compiling the .proto files.
我尝试在研究文件夹中运行以下命令:
C:/protoc/bin/protoc object_detection/protos/*.proto --python_out =.
I try running this command in the research folder:
C:/protoc/bin/protoc object_detection/protos/*.proto --python_out=.
但是它输出: object_detection/protos/*.proto:没有这样的文件或目录
but it outputs: object_detection/protos/*.proto: No such file or directory
知道为什么会这样吗?
推荐答案
我找到了一个解决方案,很麻烦. 如果我一一编译它们,它会起作用.
I have found a solution, it is cumbersome. It works if i compile them one by one.
例如 C:/protoc/bin/protoc object_detection/protos/anchor_generator.proto --python_out =.
e.g. C:/protoc/bin/protoc object_detection/protos/anchor_generator.proto --python_out=.
其中C:/protoc/bin/protoc是protoc.exe文件的路径
Where C:/protoc/bin/protoc is the path to protoc.exe file
这篇关于无法为Tensorflow对象检测API编译.proto文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!