conda install -c anaconda protobuf

问题描述 投票:0回答:1

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

tensorflow image-processing deep-learning object-detection-api
1个回答
0
投票

如果您还没有编译protofbuf库,那么您需要执行以下链接中指定的命令:https://github.com/tensorflow/models/blob/master/research/object_detection/g3doc/installation.md# Protobuf 编译 我确实注意到最新的 protobuf 编译器存在问题。我使用此处提供的协议版本 3.4.0 成功编译:https://github.com/google/protobuf/releases/tag/v3.4.0

© www.soinside.com 2019 - 2024. All rights reserved.