【发布时间】:2020-11-11 06:24:52
【问题描述】:
我正在尝试使用 TensorFlow 检测对象,如 here 所述。
在训练部分运行此命令后
python train.py --logtostderr --train_dir=training/ --pipeline_config_path=training/faster_rcnn_inception_v2_pets.config
我收到以下错误:
ImportError: cannot import name 'center_net_pb2' from 'object_detection.protos' (E:\Projects\Tensorflow_10Nov20\models-master\research\object_detection\protos\__init__.py)
这里是相关代码
from object_detection.protos import center_net_pb2 as object__detection_dot_protos_dot_center__net__pb2
【问题讨论】:
标签: python tensorflow opencv