【问题标题】:How to fix Import object_detection/protos/image_resizer.proto but not used如何修复 Import object_detection/protos/image_resizer.proto 但未使用
【发布时间】:2020-07-20 18:59:52
【问题描述】:

我在尝试编译 Protobuf 以使用 TensorFlow 对象检测 API 时遇到问题。

我正在关注本教程:https://github.com/Khaivdo/How-to-train-an-Object-Detector-using-Tensorflow-API-on-Ubuntu-16.04-GPU

在命令行中我尝试启动这个命令(教程链接中的 1.4.2 编译 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.

我该如何解决这个问题?

【问题讨论】:

    标签: python tensorflow computer-vision object-detection-api protobuf-python


    【解决方案1】:

    正如this 问题所述,这只是一个内部警告(不是错误),它不应该打扰您。你可以跟随你的执行。

    【讨论】:

      猜你喜欢
      • 2021-03-13
      • 2018-03-11
      • 2021-09-26
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多