浏览代码

Update ml-agents-envs/mlagents_envs/environment.py

Co-Authored-By: Chris Elion <chris.elion@unity3d.com>
/asymm-envs
GitHub 5 年前
当前提交
6f65b0e3
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 2
      ml-agents-envs/mlagents_envs/environment.py

2
ml-agents-envs/mlagents_envs/environment.py


return RpcCommunicator(worker_id, base_port, timeout_wait)
@staticmethod
def environment_launch_check(env_path):
def environment_launch_check(env_path: str) -> Optional[str]:
if not (glob.glob(env_path) or glob.glob(env_path + ".*")):
raise UnityEnvironmentException(
"Couldn't launch the {0} environment. "

正在加载...
取消
保存