Skip to content

Commit e3c06ee

Browse files
authored
Merge pull request #3 from PHPirates/typos
Some typos (and changes from a protobuf update)
2 parents 964c954 + 86ac317 commit e3c06ee

File tree

1 file changed

+12
-4
lines changed

1 file changed

+12
-4
lines changed

docs/source/install.rst

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -236,7 +236,7 @@ Test your Installation
236236
TensorFlow Models Installation
237237
------------------------------
238238

239-
Now that you have installed TensorFlow, it is time to install the models used b TesnorFlow to do it's magic.
239+
Now that you have installed TensorFlow, it is time to install the models used by TensorFlow to do its magic.
240240

241241
Install Prerequisites
242242
~~~~~~~~~~~~~~~~~~~~~
@@ -254,7 +254,7 @@ Building on the assumption that you have just created your new virtual environme
254254
+--------------+------------------------------+
255255
| jupyter | 1.0.0-py36_4 |
256256
+--------------+------------------------------+
257-
| matlplotlib | 2.2.2-py36h153e9ff_0 |
257+
| matplotlib | 2.2.2-py36h153e9ff_0 |
258258
+--------------+------------------------------+
259259
| opencv | 3.3.1-py36h20b85fd_1 |
260260
+--------------+------------------------------+
@@ -273,6 +273,7 @@ Alternatively, if you don't want to use Anaconda you can install the packages us
273273
274274
pip install <package_name>(=<version>)
275275
276+
but you will need to install ``opencv-python`` instead of ``opencv``.
276277

277278
Downloading the TensorFlow Models
278279
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
@@ -349,6 +350,13 @@ This should be done as follows:
349350
# From TensorFlow/models/research/
350351
protoc object_detection/protos/*.proto --python_out=.
351352
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+
352360
.. [#] NOTE: You MUST open a new `Anaconda/Command Prompt` for the changes in the environment variables to take effect.
353361
354362
.. _test_tf_models:
@@ -398,7 +406,7 @@ To deal with the fact that ``labelImg`` (on Windows) requires the use of ``pyqt4
398406
399407
activate labelImg
400408
401-
Once you have activated your virtual environment, the name of the environment should be displayed within brackets at the beggining of your cmd path specifier, e.g.:
409+
Once you have activated your virtual environment, the name of the environment should be displayed within brackets at the beginning of your cmd path specifier, e.g.:
402410

403411
.. code-block:: ps1con
404412
@@ -407,7 +415,7 @@ Once you have activated your virtual environment, the name of the environment sh
407415
Downloading labelImg
408416
~~~~~~~~~~~~~~~~~~~~
409417

410-
- Inside you ``TesnorFlow`` folder, create a new directory, name it ``addons`` and then ``cd`` into it.
418+
- Inside you ``TensorFlow`` folder, create a new directory, name it ``addons`` and then ``cd`` into it.
411419
- To download the package you can either use `Git <https://git-scm.com/downloads>`_ to clone the `labelImg repo <https://github.com/tzutalin/labelImg>`_ inside the ``TensorFlow\addons`` folder, or you can simply download it as a `ZIP <https://github.com/tzutalin/labelImg/archive/master.zip>`_ and extract it's contents inside the ``TensorFlow\addons`` folder. To keep things consistent, in the latter case you will have to rename the extracted folder ``labelImg-master`` to ``labelImg``. [#]_
412420
- You should now have a single folder named ``addons\labelImg`` under your ``TensorFlow`` folder, which contains another 4 folders as such:
413421

0 commit comments

Comments
 (0)