浏览代码

Update barracuda in the hopes that our burst crashes go away. (#4359)

* Update barracuda in the hopes that our burst crashes go away.

* Check for an executable with the same name as the env before failing.

* ignore macblas.
/release_6_branch
GitHub 4 年前
当前提交
10712b9a
共有 2 个文件被更改,包括 3 次插入2 次删除
  1. 2
      com.unity.ml-agents/package.json
  2. 3
      ml-agents/tests/yamato/yamato_utils.py

2
com.unity.ml-agents/package.json


"unity": "2018.4",
"description": "Use state-of-the-art machine learning to create intelligent character behaviors in any Unity environment (games, robotics, film, etc.).",
"dependencies": {
"com.unity.barracuda": "1.0.1"
"com.unity.barracuda": "1.0.2"
}
}

3
ml-agents/tests/yamato/yamato_utils.py


Try to find the player executable. This seems to vary between Unity versions.
"""
ignored_extension = frozenset([".dll", ".dylib", ".bundle"])
ignored_files = frozenset(["macblas"])
if ext in ignored_extension:
if ext in ignored_extension or filename in ignored_files:
continue
file_path = os.path.join(root, filename)
if os.access(file_path, os.X_OK):

正在加载...
取消
保存