欢迎访问 生活随笔!

生活随笔

当前位置: 首页 > 编程资源 > 编程问答 >内容正文

编程问答

How to fix the bug “Expected required, optional, or repeated.”?

发布时间:2023/12/1 编程问答 51 豆豆
生活随笔 收集整理的这篇文章主要介绍了 How to fix the bug “Expected required, optional, or repeated.”? 小编觉得挺不错的,现在分享给大家,帮大家做个参考.

参考:https://github.com/tensorflow/models/issues/1834

 

You need to download protoc version 3.3 (already compiled). Used protoc inside bin directory to run this command like this:
tensorflow$ mkdir protoc_3.3
tensorflow$ cd protoc_3.3
tensorflow/protoc_3.3$ wget wget https://github.com/google/protobuf/releases/download/v3.3.0/protoc-3.3.0-linux-x86_64.zip
tensorflow/protoc_3.3$ chmod 775 protoc-3.3.0-linux-x86_64.zip
tensorflow/protoc_3.3$ unzip protoc-3.3.0-linux-x86_64.zip
tensorflow/protoc_3.3$ cd ../models/
tensorflow/protoc_3.3$ /home/humayun/tensorflow/protoc_3.3/bin/protoc object_detection/protos/*.proto --python_out=.

It will work hopefullly.

Humayun

转载于:https://www.cnblogs.com/YouXiangLiThon/p/7590779.html

总结

以上是生活随笔为你收集整理的How to fix the bug “Expected required, optional, or repeated.”?的全部内容,希望文章能够帮你解决所遇到的问题。

如果觉得生活随笔网站内容还不错,欢迎将生活随笔推荐给好友。