"...resnet50_tensorflow.git" did not exist on "0d9a3abdca7be4a855dc769d6d441a5bfcb77c6d"
Commit e0388cfe authored by Marvin Teichmann's avatar Marvin Teichmann Committed by aquariusjay
Browse files

Put all python dependencies into one line. (#6870)

* Put all python dependencies into one line.

This makes it easier to copy, paste & install all dependencies at once. In addition many users have custom setups (virtualenv, conda, .etc). Having it in one line easily allows to grap the dependencies.

* Remove 'sudo' from all pip install commands and adjust troubleshooting section.
parent ab1c1dfc
...@@ -32,10 +32,7 @@ PATH_TO_PROTOC=`pwd` ...@@ -32,10 +32,7 @@ PATH_TO_PROTOC=`pwd`
Install python library dependencies: Install python library dependencies:
```bash ```bash
sudo pip install matplotlib pip install matplotlib numpy scikit-image scipy
sudo pip install numpy
sudo pip install scikit-image
sudo pip install scipy
``` ```
### `tensorflow/models` ### `tensorflow/models`
...@@ -50,7 +47,7 @@ git clone https://github.com/tensorflow/models ...@@ -50,7 +47,7 @@ git clone https://github.com/tensorflow/models
# First, install slim's "nets" package. # First, install slim's "nets" package.
cd models/research/slim/ cd models/research/slim/
sudo pip install -e . pip install -e .
# Second, setup the object_detection module by editing PYTHONPATH. # Second, setup the object_detection module by editing PYTHONPATH.
cd .. cd ..
...@@ -70,7 +67,7 @@ Finally, install the DELF package. ...@@ -70,7 +67,7 @@ Finally, install the DELF package.
```bash ```bash
# From tensorflow/models/research/delf/ # From tensorflow/models/research/delf/
sudo pip install -e . # Install "delf" package. pip install -e . # Install "delf" package.
``` ```
At this point, running At this point, running
...@@ -94,5 +91,5 @@ to use `pip3` instead of `pip`, and all should work. ...@@ -94,5 +91,5 @@ to use `pip3` instead of `pip`, and all should work.
Issues might be observed if using `pip install` with `-e` option (editable Issues might be observed if using `pip install` with `-e` option (editable
mode). You may try out to simply remove the `-e` from the commands above. Also, mode). You may try out to simply remove the `-e` from the commands above. Also,
depending on your machine setup, you might need to run the `pip install` command depending on your machine setup, you might need to run the `sudo pip install` command,
without `sudo` at the beginning. that is with a `sudo` at the beginning.
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment