'UnityEnvironment' object has no attribute 'behavior_spec'
问题 I followed this link to doc to create environment of my own. But when i run this from mlagents_envs.environment import UnityEnvironment env = UnityEnvironment(file_name="v1-ball-cube-game.x86_64") env.reset() behavior_names = env.behavior_spec.keys() print(behavior_names) Game window pop up and then terminal show error saying Traceback (most recent call last): File "index.py", line 6, in <module> behavior_names = env.behavior_spec.keys() AttributeError: 'UnityEnvironment' object has no