浏览代码

splitting brain params into brain name and identifiers

/develop/magic-string
Andrew Cohen 5 年前
当前提交
8f62c69e
共有 5 个文件被更改,包括 17 次插入7 次删除
  1. 6
      UnitySDK/Assets/ML-Agents/Examples/Tennis/Prefabs/TennisArea.prefab
  2. 2
      UnitySDK/ProjectSettings/DynamicsManager.asset
  3. 5
      UnitySDK/ProjectSettings/EditorBuildSettings.asset
  4. 9
      UnitySDK/ProjectSettings/EditorSettings.asset
  5. 2
      ml-agents/mlagents/trainers/trainer_util.py

6
UnitySDK/Assets/ML-Agents/Examples/Tennis/Prefabs/TennisArea.prefab


vectorActionSize: 02000000
vectorActionDescriptions: []
vectorActionSpaceType: 1
m_Model: {fileID: 11400000, guid: d6c5e749e4ceb4cf79640a5955706d3d, type: 3}
m_Model: {fileID: 0}
m_TeamID: 0
--- !u!114 &114399072728845634
MonoBehaviour:
m_ObjectHideFlags: 1

vectorActionSize: 02000000
vectorActionDescriptions: []
vectorActionSpaceType: 1
m_Model: {fileID: 11400000, guid: d6c5e749e4ceb4cf79640a5955706d3d, type: 3}
m_Model: {fileID: 0}
m_TeamID: 0
--- !u!114 &114800310164848628
MonoBehaviour:
m_ObjectHideFlags: 1

2
UnitySDK/ProjectSettings/DynamicsManager.asset


PhysicsManager:
m_ObjectHideFlags: 0
serializedVersion: 7
m_Gravity: {x: 0, y: -9.81, z: 0}
m_Gravity: {x: 0, y: -19.81, z: 0}
m_DefaultMaterial: {fileID: 0}
m_BounceThreshold: 2
m_SleepThreshold: 0.005

5
UnitySDK/ProjectSettings/EditorBuildSettings.asset


EditorBuildSettings:
m_ObjectHideFlags: 0
serializedVersion: 2
m_Scenes: []
m_Scenes:
- enabled: 1
path: Assets/ML-Agents/Examples/Tennis/Scenes/Tennis.unity
guid: 25c0c9e81e55c4e129e1a5c0ac254100

9
UnitySDK/ProjectSettings/EditorSettings.asset


--- !u!159 &1
EditorSettings:
m_ObjectHideFlags: 0
serializedVersion: 4
serializedVersion: 7
m_LineEndingsForNewScripts: 1
m_ProjectGenerationIncludedExtensions: txt;xml;fnt;cd
m_EtcTextureCompressorBehavior: 0
m_EtcTextureFastCompressor: 2
m_EtcTextureNormalCompressor: 2
m_EtcTextureBestCompressor: 5
m_ProjectGenerationIncludedExtensions: txt;xml;fnt;cd;asmdef
m_ProjectGenerationRootNamespace:
m_UserGeneratedProjectSuffix:
m_CollabEditorSettings:

2
ml-agents/mlagents/trainers/trainer_util.py


:return:
"""
trainer_parameters = trainer_config["default"].copy()
brain_name = brain_parameters.brain_name
brain_name, brain_name_identifiers = brain_parameters.brain_name.split("?")
trainer_parameters["summary_path"] = "{basedir}/{name}".format(
basedir=summaries_dir, name=str(run_id) + "_" + brain_name
)

正在加载...
取消
保存