python - 如何修复 Import object_detection/protos/image_resizer.proto 但未使用
问题描述
当我尝试编译 Protobuf 以使用 TensorFlow 对象检测 API 时遇到问题。
我正在关注本教程:https ://github.com/Khaivdo/How-to-train-an-Object-Detector-using-Tensorflow-API-on-Ubuntu-16.04-GPU
在命令行中,我尝试启动此命令(教程链接中的 1.4.2 Compile Protobuf):
# From ObjectDetection/models/research/
protoc object_detection/protos/*.proto --python_out=.
我得到了这个错误:
object_detection/protos/input_reader.proto: warning: Import object_detection/protos/image_resizer.proto but not used.
我该如何解决?
解决方案
正如这个问题所说,这只是一个内部警告(不是错误),它不应该打扰你。你可以跟随你的执行。
推荐阅读
- android - Android 新活动结果 API
- android - 如何捕获启用固定的 android 应用程序的流量?
- java - CompletableFuture.allOf().orTimeout() 的意外行为
- python - 是否有任何序列化器字段类型来实现标签字段
- html - 使用 Thymeleaf HTML 在 PDF 的所有页面中的页码和日期时间的页脚
- unity3d - 错误操作碰撞
- html - 尝试以响应方式设置此按钮的样式
- ios - Web Socket Connection - iOS Swift 中的连接被拒绝/失败 - Starscream/RxStarscream
- javascript - React.createElement:类型无效 - Electron-React-Boilerplate
- compiler-construction - 使用实时变量分析计算工作清单