Models: Error when trying to use protoc compiler

Created on 14 Jun 2020  ·  7Comments  ·  Source: tensorflow/models

Hi, I'm using a MacBook OS for installing the latest version of the library and protoc.
Whenever I try running the command
protoc object_detection/protos/*.proto --python_out=.

in th /research directory, I ALWAYS get the error:
warning: Import object_detection/protos/image_resizer.proto is unused

I've tried looking online for answers but couldn't find any. Would appreciate any help, thanks!

research bug

All 7 comments

Hello,
It seems that this is not an error but only a warning message stating that one of the files is unused.
This should not prevent the rest of the code to run, so you can ignore this message.

meet the same question ,
do you solove it and how?
Would appreciate your help, thanks!

Hi,
Just delete the file 'image_resizer.proto' and it will work.

I have solved it but thank you anyway !

@mengssui Hi, could you please tell me how to solve the issue?

@mengssui Hi, could you please tell me how to solve the issue?

You can look the newest markdown file of the Tensorflow official Object Detection API with TensorFlow 2
I use tf2, so i configured with the tf2.md.

Same as issue #8865. Please refer to the pr #8954 for how to remove the warning.

The issue seems fixed thus I am closing it, please feel free to reopen it if you have further questions. Thanks.

Was this page helpful?
0 / 5 - 0 ratings