2017-07-07 126 views
0

我试图让Tensorflow的新Object Detection API工作。我跟着installation instructions,但在运行命令对象检测API错误:“ImportError:无法导入名称anchor_generator_pb2”

python object_detection/builders/model_builder_test.py 

时,我得到了以下错误

from object_detection.protos import anchor_generator_pb2 
ImportError: cannot import name anchor_generator_pb2 

我看着里面object_detection.protos,并且似乎没有被命名anchor_generator_pb2什么。有没有人设法得到这个命令运行,或解决了这个问题?

回答

0

错失安装说明中的步骤,其中,要运行的以下需要:

protoc object_detection/protos/*.proto --python_out=. 
相关问题