You are not very clear in what you have done or what your question is, but for using the internal brain, make sure you put your runid.bytes
file inside the brain. Which is obtained after the training process has reached max_steps
.
To train your agent with an executable file:
- Build your project
- Go to command line and go to the
ml-agents
folder on your computer. (Mine is located under C:/Users/alexl/ml-agents
)
- Run
mlagents-learn config/trainer_config.yaml --env="PATH/TO/EXE/EXE" --run-id=RUNID --train
Make sure to not include the file extension in path. For example C:/unityproject/project instead of C:/unityproject/project.exe
Now after the training process has finished, go to /ml-agents/models
and here you will find a RUNID.bytes
file. Put this into the internal brain and now press start in the Unity editor.