Unverified Commit 3c77e654 authored by BOYLIN's avatar BOYLIN Committed by GitHub
Browse files

Update README.md (#10670)



* * Update README.md

Added installation approach for Windows.

* Update README.md

Updated line 91 from 
`pip3 install --user -r official/requirements.txt`

to 
`pip3 install --user -r models/official/requirements.txt`

* Update README.md
Update line 78 from
$env:PYTHONPATH += "C:\path\to\models"

to
$env:PYTHONPATH += ":\path\to\models"
Co-authored-by: default avatarVishnuvardhan Janapati <46058173+jvishnuvardhan@users.noreply.github.com>
parent 64d783f1
...@@ -73,6 +73,11 @@ git clone https://github.com/tensorflow/models.git ...@@ -73,6 +73,11 @@ git clone https://github.com/tensorflow/models.git
export PYTHONPATH=$PYTHONPATH:/path/to/models export PYTHONPATH=$PYTHONPATH:/path/to/models
``` ```
If you are using in a Windows environment, you may need to use the following command with PowerShell:
```shell
$env:PYTHONPATH += ":\path\to\models"
```
If you are using a Colab notebook, please set the Python path with os.environ. If you are using a Colab notebook, please set the Python path with os.environ.
```python ```python
...@@ -83,7 +88,7 @@ os.environ['PYTHONPATH'] += ":/path/to/models" ...@@ -83,7 +88,7 @@ os.environ['PYTHONPATH'] += ":/path/to/models"
3. Install other dependencies 3. Install other dependencies
```shell ```shell
pip3 install --user -r official/requirements.txt pip3 install --user -r models/official/requirements.txt
``` ```
Finally, if you are using nlp packages, please also install Finally, if you are using nlp packages, please also install
......
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