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
I'm going to post this on all these questions I can find so people know. I have to write these directions for myself and others later anyways.
The following does and does not work in a way:
protoc object_detection/protos/*.proto --python_out=.
The *.proto designating all files does not work for the compiler. If you are using version 3.5, you have to specify each individual file.
So here it what it would look like:
change your directory to the research folder you downloaded(may differ):
cd /d C:\Users\yourusername\Desktop\TensorFlow\models-master\models-master\research
Get the location of the protroc.exe file that you downloaded
C:\Users\yourusername\Desktop\TensorFlow\protoc-3.5.1-win32\bin\protoc
Go to the protos folder so you know what files you need to do individually
C:\Users\yourusername\Desktop\TensorFlow\models-master\models-master\research\object_detection\protos
Now start spamming every individual .proto item in that folder in cmd:
C:\Users\yourusername\Desktop\TensorFlow\protoc-3.5.1-win32\bin\protoc object_detection/protos/anchor_generator.proto --python_out=.
C:\Users\yourusername\Desktop\TensorFlow\protoc-3.5.1-win32\bin\protoc object_detection/protos/argmax_matcher.proto --python_out=.
C:\Users\yourusername\Desktop\TensorFlow\protoc-3.5.1-win32\bin\protoc object_detection/protos/bipartite_matcher.proto --python_out=.
....and so on until you finish all items in the protos folder
Or you could call it a day and get 3.4 and run:
C:\Users\yourusername\Projects\TensorFlow\protoc-3.5.1-win32\bin\protoc object_detection/protos/*.proto --python_out=.
Let me know if I can clarify some more. I try to be very clear so idiots like me can understand.