conda install -c anaconda protobuf

时间:2018-07-25 23:06:19

标签: tensorflow image-processing deep-learning object-detection-api

当我尝试在张量流对象检测API中运行train.py时出现上述错误。 有人能帮我吗 ? 我正在尝试此代码 python train.py --logtostderr --train_dir = training / --pipeline_config_path = training / faster_rcnn_inception_v2_pets.config

1 个答案:

答案 0 :(得分:0)

如果尚未编译protofbuf库,则需要执行以下链接中指定的命令:https://github.com/tensorflow/models/blob/master/research/object_detection/g3doc/installation.md#protobuf-compilation 我确实注意到最新的protobuf编译器存在问题。我已成功使用以下协议的3.4.0版本进行编译:https://github.com/google/protobuf/releases/tag/v3.4.0