For this project, you will work with the Tennis environment.
In this environment, the goal is to train a team of agents to play soccer.
You can read more about this environment in the ML-Agents GitHub here. To solve this harder task, we'll need to download a new Unity environment.
- You need only select the environment that matches your operating system:
- Linux: click here
- Mac OSX: click here
- Windows (32-bit): click here
- Windows (64-bit): click here
-
Place the file in the
environments/
folder, and unzip (or decompress) the file. -
[Optional] Create a Conda environment and activate it
(base) ➜ drlnd-soccer git:(master) ✗ conda create --name drlnd-soccer python=3.6
(base) ➜ drlnd-soccer git:(master) ✗ conda activate drlnd-soccer
-
Change into the
python
folder and executepip install .
to install the required dependencies. -
Create a custom IPython kernel by executing
$ python -m ipykernel install --user --name drlnd --display-name "drlnd"
Start a jupyter notebook
from within the project folder and follow the instructions in notebooks/Soccer.ipynb
to either
- train your own agent or
- load the model weights and watch the pre-trained agent
HINT: make sure to switch from the default Python 3 kernel to "drlnd" (see section Project Setup).
Tested on macOS Big Sur (Version 11.0.1) and Ubuntu 20.04.2 LTS.