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

后端 未结 16 3005
时光说笑
时光说笑 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:22

    Solved for Windows, be in 'research' and have the 'protoc' in path, then this will work:

    for /f %i in ('dir /b object_detection\protos\*.proto') do protoc object_detection\protos\%i --python_out=.
    

    Good Luck !

提交回复
热议问题