protoc object_detection/protos/*.proto: No such file or directory

后端 未结 16 2978
时光说笑
时光说笑 2020-12-14 10:47

I am following the example found here. But whenever I enter the command \"C:/Program Files/protoc/bin/protoc\" object_detection/protos/.proto --python_out=. I get an e

16条回答
  •  执念已碎
    2020-12-14 11:08

    Hi everyone this was how I was able to solve this error while learning about object detection using tensorflow:

    STEPS:

    1- To download the Google Protobuf for Windows 10 64 bit system, head onto this link. https://github.com/protocolbuffers/protobuf/releases/tag/v3.4.0 and install “protoc-3.4.0-win32.zip”.(Advice-Don't install protoc-3.6.0)

    2- Download models file from this link. https://github.com/tensorflow/models

    3.Now you need to execute the protobuf compile within the command prompt with help of research directory:

    4-First get inside research directory: cd C:\Users\Ankit\tensorflow\models\research and press Enter//just an example

    5-Then do this step immediate after above step:

    "C:\Users\Ankit\Desktop\Tensorflow\protbuf\bin\protoc.exe" object_detection/protos/*.proto --python_out=. and press Enter(There is space between object and " sign and this is written in one line)

    6-Note: Go to the object_detection/protos folder, and if there are .py files, you’ve successfully completed the compilation of your .proto files

    THANK YOU

提交回复
热议问题