-
Create Anaconda env using conda_env.yaml
conda env create -f conda_env.yaml
-
Edit conda_unity-snake-ml.bat file * Change <user> to your user name to run properly.
-
Run conda_unity-snake-ml.bat
-
Using following command to start training
mlagents-learn config\ppo\snake.yaml --run-id=snake_agent
* You can freely change config file setting(snake.yaml) & run-id name.
-
Press play in Unity Editor * You can use TrainingScene in Assets/Scenes/TrainingScene or create by your own.