【发布时间】:2018-09-22 12:42:47
【问题描述】:
我正在使用 Tensorflow 对象检测 API 来训练我的对象检测模型。我积累了数据集,正在学习this 教程。
在我尝试训练我的数据集之前一切都很好。当我在终端上运行以下行时,
python train.py --logtostderr \
--train_dir=training/ \
--pipeline_config_path=training/ssd_mobilenet_v1_coco.config
我收到以下错误
Traceback (most recent call last):
File "legacy/train.py", line 49, in <module>
from object_detection.builders import dataset_builder
File "/usr/local/lib/python2.7/dist-packages/object_detection-0.1-
py2.7.egg/object_detection/builders/dataset_builder.py", line 27, in
<module>
from object_detection.data_decoders import tf_example_decoder
File "/usr/local/lib/python2.7/dist-packages/object_detection-0.1-
py2.7.egg/object_detection/data_decoders/tf_example_decoder.py", line
24, in <module>
from object_detection.protos import input_reader_pb2
ImportError: cannot import name input_reader_pb2
我尝试通过网站和 cmets 进行搜索,但很遗憾无法找到,谁能帮忙!
谢谢!
【问题讨论】:
标签: python tensorflow object-detection training-data