PPO-algo-with-custom-Unity-environment
PPO-algo-with-custom-Unity-environment copied to clipboard
How to test the agent which was trained in multiple unity instances using ml-agents?
Hello @dhyeythumar Sir, I've trained the agent using following command mlagents-learn config/trainer_config.yaml --env=E:\PPO-algo-with-custom-Unity-environment\rl_env_binary\Windows_build\Learning-Agents--r1 --run-id=Run1 --num-envs=4
It was trained succesfully and saved the model and checkpoints in the below folder structure
It also saved the .nn file withe the FindFlag folder.
Below is the training log

Wanted to know how we can test the agent because in test.py it is not testing the ml-agent's agent. How can I test the agent? and also can we get the unity environment editor project? because we only have .exe file.
Hi @BazilaAfridi, So in this case you can convert .pd file (TensorFlow frozen graph) to hdf5 format which is used by Keras. And regarding the project files its almost been two years that I haven't checked this project, so I am not able to find it on my PC. I will email them if I find or will ask my team mates for this project.
Ok Sir thanks I wanted the project files because wanted to replace the ninja agent with the drone agent and wanted to test it. If you find would be a great help.