Closed D-Hsueh closed 4 years ago
Hi there! I had the same problem, and for me it was because I didn't set a brain yet. If you don't set a brain in the agent's Behavior parameters, ml-agents will always use Heuristics. This is only the case when you're running it in play mode. Hope that helps
Hi there! I had the same problem, and for me it was because I didn't set a brain yet. If you don't set a brain in the agent's Behavior parameters, ml-agents will always use Heuristics. This is only the case when you're running it in play mode. Hope that helps
But in 0.11 version, i don't know how to set a brain, my Begavior parameters inspector is like this
the only one thing that i think is related to brain is 'Behavior Name', but it doesn't work.
You can put the brain .nn file in Model See # 3 of this guide in the docs
You can put the brain .nn file in Model See # 3 of this guide in the docs
Thank you very much for your reply, I solved the problem with your method.
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
When i import 'ML-Agents' file into my project and migrate my project into 0.11 version, i run this python script and click the play button, but it seems like my unity editor cannot communicate with my python script.
And then i found that whether i choose "use Heuristic" check box, my agent always action by my "heuristic" action.
By the way, i think this message may be helpful to find out my problem's solution, but i can't understand it.
I alerady update my unitySDK and mlagents to 0.11