浏览代码

added new nn files

/hh-develop-walljump_bugfixes
Hunter 5 年前
当前提交
47d31907
共有 15 个文件被更改,包括 21 次插入3404 次删除
  1. 2
      UnitySDK/Assets/ML-Agents/Examples/WallJump/Brains/BigWallJumpLearning.asset
  2. 2
      UnitySDK/Assets/ML-Agents/Examples/WallJump/Brains/SmallWallJumpLearning.asset
  3. 24
      UnitySDK/Assets/ML-Agents/Examples/WallJump/Prefabs/WallJumpArea.prefab
  4. 3
      UnitySDK/Assets/ML-Agents/Examples/WallJump/Scripts/WallJumpAgent.cs
  5. 1001
      UnitySDK/Assets/ML-Agents/Examples/WallJump/TFModels/BigWallJumpLearning.nn
  6. 2
      UnitySDK/Assets/ML-Agents/Examples/WallJump/TFModels/BigWallJumpLearning.nn.meta
  7. 1001
      UnitySDK/Assets/ML-Agents/Examples/WallJump/TFModels/SmallWallJumpLearning.nn
  8. 2
      UnitySDK/Assets/ML-Agents/Examples/WallJump/TFModels/SmallWallJumpLearning.nn.meta
  9. 2
      UnitySDK/csharp_timers.json
  10. 2
      config/trainer_config.yaml
  11. 2
      csharp_timers.json
  12. 367
      UnitySDK/Assets/ML-Agents/Examples/WallJump/Brains/BigWallJumpLearning.nn
  13. 7
      UnitySDK/Assets/ML-Agents/Examples/WallJump/Brains/BigWallJumpLearning.nn.meta
  14. 1001
      UnitySDK/Assets/ML-Agents/Examples/WallJump/Brains/SmallWallJumpLearning.nn
  15. 7
      UnitySDK/Assets/ML-Agents/Examples/WallJump/Brains/SmallWallJumpLearning.nn.meta

2
UnitySDK/Assets/ML-Agents/Examples/WallJump/Brains/BigWallJumpLearning.asset


-
-
vectorActionSpaceType: 0
model: {fileID: 11400000, guid: 63d1ecc7b513b452dbb35847816f506b, type: 3}
model: {fileID: 11400000, guid: 375ec7d55d3e645eca6eb504433e4a13, type: 3}
inferenceDevice: 0

2
UnitySDK/Assets/ML-Agents/Examples/WallJump/Brains/SmallWallJumpLearning.asset


-
-
vectorActionSpaceType: 0
model: {fileID: 11400000, guid: 810652450bd9048e5846b47d543eec07, type: 3}
model: {fileID: 11400000, guid: 2a4c1494f7c244cce84002eb8ac585df, type: 3}
inferenceDevice: 0

24
UnitySDK/Assets/ML-Agents/Examples/WallJump/Prefabs/WallJumpArea.prefab


m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 0
m_IsActive: 1
--- !u!1 &1191598557174792
GameObject:
m_ObjectHideFlags: 1

m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
m_IsActive: 0
--- !u!1 &1485171514847798
GameObject:
m_ObjectHideFlags: 0

m_LocalScale: {x: 1.5, y: 1.5, z: 1.5}
m_Children: []
m_Father: {fileID: 4768003208014390}
m_RootOrder: 6
m_RootOrder: 7
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!4 &4581736733780204
Transform:

m_LocalScale: {x: 1.5, y: 1.5, z: 1.5}
m_Children: []
m_Father: {fileID: 4768003208014390}
m_RootOrder: 7
m_RootOrder: 8
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!4 &4651390251185036
Transform:

- {fileID: 4764219638476960}
- {fileID: 4886712515982252}
- {fileID: 4982066033175770}
- {fileID: 4972445296092312}
- {fileID: 4972445296092312}
- {fileID: 4959657776237834}
m_Father: {fileID: 0}
m_RootOrder: 0

m_LocalScale: {x: 1.5, y: 1.5, z: 1.5}
m_Children: []
m_Father: {fileID: 4768003208014390}
m_RootOrder: 8
m_RootOrder: 9
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!4 &4972445296092312
Transform:

m_LocalScale: {x: 3, y: 1.5, z: 3}
m_Children: []
m_Father: {fileID: 4768003208014390}
m_RootOrder: 9
m_RootOrder: 6
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!4 &4982066033175770
Transform:

m_PrefabInternal: {fileID: 100100000}
m_GameObject: {fileID: 1040054285917182}
serializedVersion: 2
m_Mass: 150
m_Mass: 25
m_Drag: 0.5
m_AngularDrag: 0.5
m_UseGravity: 1

resetOnDone: 1
onDemandDecision: 0
numberOfActionsBetweenDecisions: 3
noWallBrain: {fileID: 11400000, guid: 2069d6ef649a549feb29054d6af8a86f, type: 2}
smallWallBrain: {fileID: 11400000, guid: 2069d6ef649a549feb29054d6af8a86f, type: 2}
bigWallBrain: {fileID: 11400000, guid: b5f530c5bf8d64bf8a18df92e283bb9c, type: 2}
noWallBrain: {fileID: 11400000, guid: 6265d54a73b2a448daa5d2fd5ed22301, type: 2}
smallWallBrain: {fileID: 11400000, guid: 6265d54a73b2a448daa5d2fd5ed22301, type: 2}
bigWallBrain: {fileID: 11400000, guid: aedc31894d06b4044928faf0507b1047, type: 2}
shortBlock: {fileID: 1478101936519122}
shortBlock: {fileID: 1040054285917182}
wall: {fileID: 1528738716925344}
jumpTimer: 0
m_currentVelMag: 0

3
UnitySDK/Assets/ML-Agents/Examples/WallJump/Scripts/WallJumpAgent.cs


// || (!Physics.Raycast(m_ShortBlockRb.position, Vector3.down, 20)))
if(m_AgentRb.position.y < -1 || m_ShortBlockRb.position.y < -1)
{
Done();
Done();
}
}

if (col.gameObject.CompareTag("goal") && m_groundCheck.isGrounded)
{
SetReward(1f);
ResetBlock(m_ShortBlockRb);
StartCoroutine(
GoalScoredSwapGroundMaterial(m_Academy.goalScoredMaterial, .5f));
Done();

1001
UnitySDK/Assets/ML-Agents/Examples/WallJump/TFModels/BigWallJumpLearning.nn
文件差异内容过多而无法显示
查看文件

2
UnitySDK/Assets/ML-Agents/Examples/WallJump/TFModels/BigWallJumpLearning.nn.meta


fileFormatVersion: 2
guid: b036370dc05b9481bbcee7db40d40b5d
guid: 375ec7d55d3e645eca6eb504433e4a13
ScriptedImporter:
userData:
assetBundleName:

1001
UnitySDK/Assets/ML-Agents/Examples/WallJump/TFModels/SmallWallJumpLearning.nn
文件差异内容过多而无法显示
查看文件

2
UnitySDK/Assets/ML-Agents/Examples/WallJump/TFModels/SmallWallJumpLearning.nn.meta


fileFormatVersion: 2
guid: ef4a2c4f314e94d718e08c7c71b3c5f0
guid: 2a4c1494f7c244cce84002eb8ac585df
ScriptedImporter:
userData:
assetBundleName:

2
UnitySDK/csharp_timers.json


{"count":1,"self":59.143136,"total":59.827309,"children":{"AgentResetIfDone":{"count":2884,"self":0.143195,"total":0.143195,"children":null},"AgentSendState":{"count":2884,"self":0.131877,"total":0.223355,"children":{"CollectObservations":{"count":962,"self":0.09147799999999999,"total":0.09147799999999999,"children":null}}},"BrainDecideAction":{"count":2884,"self":0.097074,"total":0.097074,"children":null},"AcademyStep":{"count":2884,"self":0.087388,"total":0.087388,"children":null},"AgentAct":{"count":2884,"self":0.13186399999999998,"total":0.13186399999999998,"children":null}}}
{"count":1,"self":1765.3489663999999,"total":1765.4630009999998,"children":{"AgentResetIfDone":{"count":21,"self":0.001287,"total":0.001287,"children":null},"AgentSendState":{"count":21,"self":0.028536,"total":0.042492999999999996,"children":{"CollectObservations":{"count":168,"self":0.013956999999999999,"total":0.013956999999999999,"children":null}}},"BrainDecideAction":{"count":21,"self":0.063049,"total":0.063049,"children":null},"AcademyStep":{"count":21,"self":0.000614,"total":0.000614,"children":null},"AgentAct":{"count":21,"self":0.005386,"total":0.005386,"children":null}}}

2
config/trainer_config.yaml


time_horizon: 1000
batch_size: 512
buffer_size: 4096
max_steps: 1e6
max_steps: 2e6
summary_freq: 3000
num_layers: 2
hidden_units: 128

2
csharp_timers.json


{"count":1,"self":325.8655232,"total":11325.855853,"children":{"AgentResetIfDone":{"count":461409,"self":4.413044,"total":4.413044,"children":null},"AgentSendState":{"count":461409,"self":29.0895232,"total":133.040449,"children":{"CollectObservations":{"count":3691272,"self":103.9509248,"total":103.950925,"children":null}}},"BrainDecideAction":{"count":461409,"self":10831.9637504,"total":10831.963456,"children":null},"AcademyStep":{"count":461409,"self":2.617991,"total":2.617991,"children":null},"AgentAct":{"count":461409,"self":27.953027199999998,"total":27.953025999999998,"children":null}}}ldren":null}}}
{"count":1,"self":26.708940799999997,"total":239.834716,"children":{"AgentResetIfDone":{"count":13809,"self":0.14462899999999998,"total":0.14462899999999998,"children":null},"AgentSendState":{"count":13809,"self":1.018158,"total":4.721239,"children":{"CollectObservations":{"count":110472,"self":3.7030808,"total":3.7030809999999996,"children":null}}},"BrainDecideAction":{"count":13809,"self":207.38073599999998,"total":207.380741,"children":null},"AcademyStep":{"count":13809,"self":0.07435,"total":0.07435,"children":null},"AgentAct":{"count":13809,"self":0.802439,"total":0.802439,"children":null}}}9899999999993,"children":null}}}

367
UnitySDK/Assets/ML-Agents/Examples/WallJump/Brains/BigWallJumpLearning.nn
文件差异内容过多而无法显示
查看文件

7
UnitySDK/Assets/ML-Agents/Examples/WallJump/Brains/BigWallJumpLearning.nn.meta


fileFormatVersion: 2
guid: 63d1ecc7b513b452dbb35847816f506b
ScriptedImporter:
userData:
assetBundleName:
assetBundleVariant:
script: {fileID: 11500000, guid: 19ed1486aa27d4903b34839f37b8f69f, type: 3}

1001
UnitySDK/Assets/ML-Agents/Examples/WallJump/Brains/SmallWallJumpLearning.nn
文件差异内容过多而无法显示
查看文件

7
UnitySDK/Assets/ML-Agents/Examples/WallJump/Brains/SmallWallJumpLearning.nn.meta


fileFormatVersion: 2
guid: 810652450bd9048e5846b47d543eec07
ScriptedImporter:
userData:
assetBundleName:
assetBundleVariant:
script: {fileID: 11500000, guid: 19ed1486aa27d4903b34839f37b8f69f, type: 3}
正在加载...
取消
保存