tensorflow Protobuf编译问题 [英] tensorflow Protobuf Compilation issue
问题描述
我想为Google对象检测API编译protobuf库.我遵循了官方教程并输入了protoc object_detection/protos/*.proto --python_out=.
.然后我得到的是"object_detection/protos/*.proto:无效的参数".谁能告诉我该怎么办?谢谢!
I want to compile protobuf libraries for google object detection API. I followed the official tutorial and typed protoc object_detection/protos/*.proto --python_out=.
. Then what I got is "object_detection/protos/*.proto: Invalid argument". Can anyone tell me what should I do? Thanks!
推荐答案
如果您的操作系统是Windows,则*.可能不起作用.解决此问题的一个好方法是使用bash.下载用于Windows的git ,安装时请不要忘记选择git bash. 在tensorflow/models/research/中,右键单击,选择git bash,然后粘贴命令,它可以在我的笔记本电脑上很好地工作.
If your operating system is windows, then *. may not work. A good way to solve this problem is to use bash. Download git for windows, don't forget to select git bash when you install it. From tensorflow/models/research/, right click, select git bash, then paste the command, it works well on my laptop.
这篇关于tensorflow Protobuf编译问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!