Skip to content

Commit f3ff0d4

Browse files
committed
Add instruction for protobuf >=3.5 Windows
1 parent 6aa785e commit f3ff0d4

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

docs/source/install.rst

+7
Original file line numberDiff line numberDiff line change
@@ -350,6 +350,13 @@ This should be done as follows:
350350
# From TensorFlow/models/research/
351351
protoc object_detection/protos/*.proto --python_out=.
352352
353+
If you are on Windows and using version 3.5 or later, the wildcard will not work and you have to run this in the command prompt:
354+
355+
.. code-block:: python
356+
357+
# From TensorFlow/models/research/
358+
for /f %i in ('dir /b object_detection\protos\*.proto') do protoc object_detection\protos\%i --python_out=.
359+
353360
.. [#] NOTE: You MUST open a new `Anaconda/Command Prompt` for the changes in the environment variables to take effect.
354361
355362
.. _test_tf_models:

0 commit comments

Comments
 (0)