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
17.19k stars 4.16k forks source link

Instantiation of UnityEnvironment is blocking statement #4014

Closed ezedonovan closed 4 years ago

ezedonovan commented 4 years ago

Hi there!

My pipeline used to use version 0.12 and now I'm upgrading to the Release 1. I only use the Python UnityEnvironment class to interact with the binary file. I don't use the mlagents trainer.

Steps to Reproduce

I'm not very familiar with Unity and not finding any meaningful log that could point me in some direction. Could someone help me any direction where to look for the issue?

Console logs / stack traces No outputs on the terminal where I use to see the errors. Is there any other log file that I could look at?

Screenshot Screen Shot 2020-05-22 at 4 24 27 PM Note on the above image that the line u.get_behavior_names() is never executed. Or anything after the instantiation.

There's probably something else that I'm missing here...

Environment MacBook Pro Mid 2015 Mac OS Catalina 10.15.2 Unity version 2019.2.15f1 Unity Hub 2.3.1 MLAgents Release 1

ezedonovan commented 4 years ago

Changed Unity version to 2018.4.23f1 and now 3DBall and PushBlock started working. When I try to do Basic environment, the instantiation is still a blocking statment.

shihzy commented 4 years ago

hi @cabesd - can you open you request on the forums for help (https://forum.unity.com/forums/ml-agents.453/)? Unfortunately, we can't debug setups that are not standard (i.e. using a different trainer).

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.