Trained using Deep Reinforcement Learning
- Unity 2019.3.15f
- Python 3.6+
- ML-Agents release_2
- mlagents - python package v0.16.1
Refer full guide here
Basically:
- Clone the ML-Agents Toolkit Repository
- Install the
com.unity.ml-agents
Unity package from the package manager (ensure you enable preview packages & download 1.0.2) - Install the
mlagents
Python package v0.16.1 exactly
- For running trained model, just click play. The main scene is
Scenes/Arena
- The AUV Gameobject has an agents script which has the neural network stored
- Neural Network trained models are in
/Assets/TrainedModels/models
- For training, open terminal in
/Assets/TrainedModels/models
- Run
mlagents-learn auv_config.yaml --run-id=runID
auv_config.yaml
has the reinforcement learning training parameters- The model will be saved in the
models
directory
- For visualizing the data on tensorboard: release_2_docs
- Run
tensorboard --logdir=summaries
- Navigate to http://localhost:6006/ for the results
- Train the boxed version
Note: only refer to the correct version of ML-agents documentation.