November 2018
Beginner
246 pages
5h 23m
English
The first step is to change the Brain Type from Player to External. Now, open a command-line interface and navigate to the ML-Agents Toolkit repository. Then run this command:
mlagents-learn config/trainer_config.yaml --run-id=firstRun --train
You should see something like this:

At this point, you can press the Play button on the Unity Editor and the training will begin.
After the training is complete (or after you press Ctrl + C to stop it), you should find the trained model at the models/<run-identifier>/editor_<academy_name>_<run-identifier>.bytes path, where <academy_name> is the name of the Academy object in the demo. ...
Read now
Unlock full access