Unity-Technologies / ml-agents

The Unity Machine Learning Agents Toolkit (ML-Agents) is an open-source project that enables games and simulations to serve as environments for training intelligent agents using deep reinforcement learning and imitation learning.
https://unity.com/products/machine-learning-agents
Other
16.93k stars 4.14k forks source link

On demand decisions - help highly appreciated #3119

Closed skwosh1 closed 4 years ago

skwosh1 commented 4 years ago

Hey, I am trying to apply the decision on the demand in the agent, but the documentation on this issue is not too extensive. After selecting the decision on demand bool in the interface, agent does not initialise.

On demand decisions have been added in the fixed update as I found in the example. Do you have any idea where to look for errors in my code?

Screen Shot 2019-12-22 at 11 08 43
kevtan commented 4 years ago

Could you be a little bit more specific when you say "the agent does not initialize?" It sounds like nothing is crashing, but I'm not quite sure. Are you training with your environment using the low-level Python API or the mlagents-learn command line tool?

stale[bot] commented 4 years ago

This issue has been automatically marked as stale because it has not had activity in the last 14 days. It will be closed in the next 14 days if no further activity occurs. Thank you for your contributions.

skwosh1 commented 4 years ago

Thanks Kevtan for answer, I tried through Python API and found my mistake. Thanks.

github-actions[bot] commented 3 years ago

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.