|
|
|
|
|
|
|
|
|
|
### Install Python and mlagents Package |
|
|
|
|
|
|
|
In order to use ML-Agents toolkit, you need Python 3.6 along with the |
|
|
|
dependencies listed in the [setup.py file](../ml-agents/setup.py). |
|
|
|
Some of the primary dependencies include: |
|
|
|
|
|
|
|
- [TensorFlow](Background-TensorFlow.md) (Requires a CPU w/ AVX support) |
|
|
|
- [Jupyter](Background-Jupyter.md) |
|
|
|
|
|
|
|
[Download](https://www.python.org/downloads/) and install Python 3.6 if you do not |
|
|
|
already have it. |
|
|
|
In order to use ML-Agents toolkit, you need Python 3.6. |
|
|
|
[Download](https://www.python.org/downloads/) and install Python 3.6 if you do not already have it. |
|
|
|
To install the dependencies and `mlagents` Python package, run from the command line: |
|
|
|
To install the `mlagents` Python package, run from the command line: |
|
|
|
|
|
|
|
```sh |
|
|
|
pip3 install mlagents |
|
|
|
|
|
|
If you installed this correctly, you should be able to run |
|
|
|
`mlagents-learn --help`, after which you will see the Unity logo and the command line |
|
|
|
parameters you can use with `mlagents-learn`. |
|
|
|
|
|
|
|
By installing the `mlagents` package, its dependencies listed in the [setup.py file](../ml-agents/setup.py) are also installed. |
|
|
|
Some of the primary dependencies include: |
|
|
|
|
|
|
|
- [TensorFlow](Background-TensorFlow.md) (Requires a CPU w/ AVX support) |
|
|
|
- [Jupyter](Background-Jupyter.md) |
|
|
|
|
|
|
|
**Notes:** |
|
|
|
|
|
|
|