Sample project using Unity ML-Agents in an autopilot racing car.
Check the project diary here.
- Install Unity ML-Agents and dependencies (steps here).
- Train the model
- Activate the virtual environment in the repo root folder
- Run
mlagents-learn config/autopilot_config.yaml --run-id=Autopilot --force
. After the script starts it will ask you to run the project in Unity. - Press
Play
in Unity
- Review training statistics
- Activate the virtual environment in the repo root folder
- Run
tensorboard --logdir results --port 6006
- Open a browser window and navigate to
localhost:6006