Ubuntu16.04下两个版本的protobuf简单兼容安装
参考链接:
1.(https://blog.csdn.net/qq_16775293/article/details/81119375)
2.(https://blog.csdn.net/strangerzz/article/details/73850484)
3.(https://blog.csdn.net/dy_guox/article/details/79081499)
问题详述:
今天在试着在Ubuntu16.04上配置tensorflow的环境,以及Object Detection API,需要将下载tensorflow/models,将其剪切到tensorflow安装路径下,详细过程参考链接3。
而在运行以下步骤的时候出现错误:
# From tensorflow/models/research
protoc object_detection/protos/*.proto --python_out=.
参照网上一些教程将*换成tensorflow/models/research/object_detection/protos/内逐个proto文件运行上述命令,但在编译其中 ssd.proto 时也无法成功:
object_detection/protos/ssd.proto:104:3