Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

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 error that says object_detection/protos/.proto: No such file or directory. I can't create a directory called *.proto. So I'm missing some fundamental information on how to do this. Since I can't find anyone else complaining about this issue it must be pretty simple. I am using a windows OS.

like image 810
twofair Avatar asked Sep 29 '17 14:09

twofair


1 Answers

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 !

like image 198
flowgrad Avatar answered Sep 21 '22 02:09

flowgrad