-
Notifications
You must be signed in to change notification settings - Fork 4.3k
Description
I've re-installed ML-Agents and tried to connect to a build of the 3DBall environment with the provided Jupyter Notebook. This leads to the build launching, not responding, and this error in the notebook:
INFO:mlagents.envs:
'Ball3DAcademy' started successfully!
Unity Academy name: Ball3DAcademy
Reset Parameters : scale -> 1.0
mass -> 1.0
gravity -> 9.8100004196167
IndexError Traceback (most recent call last)
in
2
3 # Set the default brain to work with
----> 4 default_brain = env.external_brain_names[0]
5 brain = env.brains[default_brain]IndexError: list index out of range
I'm guessing that the Python API has changed since there are no longer any brains. If this is the case - what's the fix? I have absolutely no idea how to train from python code anymore since 0.11.
If I change the env_name to None to learn in the Editor it also doesn't work. After it waits for me to press Play nothing happens (the rest of the code after that doesn't even produce output). And after a while I just get a timeout with "The Unity environment took too long to respond".