浏览代码

add trained models. remove hh rew

/active-variablespeed
HH 4 年前
当前提交
7dfce2b2
共有 22 个文件被更改,包括 8367 次插入14 次删除
  1. 262
      Project/Assets/ML-Agents/Examples/Walker/Scenes/WalkerDynamicVariableSpeed.unity
  2. 7
      Project/Assets/ML-Agents/Examples/Walker/Scripts/WalkerAgent.cs
  3. 8
      Project/Assets/ML-Agents/Examples/Walker/TFModels/ObserveDist.meta
  4. 8
      Project/Assets/ML-Agents/Examples/Walker/TFModels/ObserveDistWithHH.meta
  5. 1001
      Project/Assets/ML-Agents/Examples/Walker/TFModels/ObserveDist/WalkerDynamic.nn
  6. 11
      Project/Assets/ML-Agents/Examples/Walker/TFModels/ObserveDist/WalkerDynamic.nn.meta
  7. 1001
      Project/Assets/ML-Agents/Examples/Walker/TFModels/ObserveDist/WalkerDynamicVariableSpeed.nn
  8. 11
      Project/Assets/ML-Agents/Examples/Walker/TFModels/ObserveDist/WalkerDynamicVariableSpeed.nn.meta
  9. 1001
      Project/Assets/ML-Agents/Examples/Walker/TFModels/ObserveDist/WalkerStatic.nn
  10. 11
      Project/Assets/ML-Agents/Examples/Walker/TFModels/ObserveDist/WalkerStatic.nn.meta
  11. 1001
      Project/Assets/ML-Agents/Examples/Walker/TFModels/ObserveDist/WalkerStaticVariableSpeed.nn
  12. 11
      Project/Assets/ML-Agents/Examples/Walker/TFModels/ObserveDist/WalkerStaticVariableSpeed.nn.meta
  13. 1001
      Project/Assets/ML-Agents/Examples/Walker/TFModels/ObserveDistWithHH/WalkerDynamic.nn
  14. 11
      Project/Assets/ML-Agents/Examples/Walker/TFModels/ObserveDistWithHH/WalkerDynamic.nn.meta
  15. 1001
      Project/Assets/ML-Agents/Examples/Walker/TFModels/ObserveDistWithHH/WalkerDynamicVariableSpeed.nn
  16. 11
      Project/Assets/ML-Agents/Examples/Walker/TFModels/ObserveDistWithHH/WalkerDynamicVariableSpeed.nn.meta
  17. 1001
      Project/Assets/ML-Agents/Examples/Walker/TFModels/ObserveDistWithHH/WalkerStatic.nn
  18. 11
      Project/Assets/ML-Agents/Examples/Walker/TFModels/ObserveDistWithHH/WalkerStatic.nn.meta
  19. 1001
      Project/Assets/ML-Agents/Examples/Walker/TFModels/ObserveDistWithHH/WalkerStaticVariableSpeed.nn
  20. 11
      Project/Assets/ML-Agents/Examples/Walker/TFModels/ObserveDistWithHH/WalkerStaticVariableSpeed.nn.meta

262
Project/Assets/ML-Agents/Examples/Walker/Scenes/WalkerDynamicVariableSpeed.unity


m_Modification:
m_TransformParent: {fileID: 0}
m_Modifications:
- target: {fileID: 2629787353138676179, guid: 84359146bf7af47e58c229d877e801d7,
type: 3}
propertyPath: m_ConnectedAnchor.x
value: 0.6999968
objectReference: {fileID: 0}
- target: {fileID: 2629787353404537184, guid: 84359146bf7af47e58c229d877e801d7,
type: 3}
propertyPath: m_ConnectedAnchor.x
value: 0.000000059604645
objectReference: {fileID: 0}
- target: {fileID: 2629787353713959312, guid: 84359146bf7af47e58c229d877e801d7,
type: 3}
propertyPath: m_ConnectedAnchor.x
value: 0.69999695
objectReference: {fileID: 0}
- target: {fileID: 2629787353844746734, guid: 84359146bf7af47e58c229d877e801d7,
type: 3}
propertyPath: m_ConnectedAnchor.x
value: -0.6999968
objectReference: {fileID: 0}
- target: {fileID: 2629787353863078002, guid: 84359146bf7af47e58c229d877e801d7,
type: 3}
propertyPath: m_ConnectedAnchor.x
value: -0.69999695
objectReference: {fileID: 0}
- target: {fileID: 2629787353905012131, guid: 84359146bf7af47e58c229d877e801d7,
type: 3}
propertyPath: m_ConnectedAnchor.x
value: -0.49999988
objectReference: {fileID: 0}
- target: {fileID: 2629787353931529269, guid: 84359146bf7af47e58c229d877e801d7,
type: 3}
propertyPath: m_ConnectedAnchor.x
value: -0.3999939
objectReference: {fileID: 0}
- target: {fileID: 2629787353937792610, guid: 84359146bf7af47e58c229d877e801d7,
type: 3}
propertyPath: m_ConnectedAnchor.x
value: 0.000000059604645
objectReference: {fileID: 0}
- target: {fileID: 2629787354032373474, guid: 84359146bf7af47e58c229d877e801d7,
type: 3}
propertyPath: m_ConnectedAnchor.x
value: 0.49999988
objectReference: {fileID: 0}
- target: {fileID: 2629787354353819707, guid: 84359146bf7af47e58c229d877e801d7,
type: 3}
propertyPath: m_ConnectedAnchor.x
value: -0.000000059604645
objectReference: {fileID: 0}
- target: {fileID: 2629787354512086317, guid: 84359146bf7af47e58c229d877e801d7,
type: 3}
propertyPath: m_ConnectedAnchor.x
value: 0.3999939
objectReference: {fileID: 0}
- target: {fileID: 2629787354515440666, guid: 84359146bf7af47e58c229d877e801d7,
type: 3}
propertyPath: m_ConnectedAnchor.x
value: -0.000000059604645
objectReference: {fileID: 0}
- target: {fileID: 6713178126238440196, guid: 84359146bf7af47e58c229d877e801d7,
type: 3}
propertyPath: m_Name

m_Modification:
m_TransformParent: {fileID: 0}
m_Modifications:
- target: {fileID: 2629787353138676179, guid: 84359146bf7af47e58c229d877e801d7,
type: 3}
propertyPath: m_ConnectedAnchor.x
value: 0.6999968
objectReference: {fileID: 0}
- target: {fileID: 2629787353404537184, guid: 84359146bf7af47e58c229d877e801d7,
type: 3}
propertyPath: m_ConnectedAnchor.x
value: 0.000000059604645
objectReference: {fileID: 0}
- target: {fileID: 2629787353713959312, guid: 84359146bf7af47e58c229d877e801d7,
type: 3}
propertyPath: m_ConnectedAnchor.x
value: 0.69999695
objectReference: {fileID: 0}
- target: {fileID: 2629787353844746734, guid: 84359146bf7af47e58c229d877e801d7,
type: 3}
propertyPath: m_ConnectedAnchor.x
value: -0.6999968
objectReference: {fileID: 0}
- target: {fileID: 2629787353863078002, guid: 84359146bf7af47e58c229d877e801d7,
type: 3}
propertyPath: m_ConnectedAnchor.x
value: -0.69999695
objectReference: {fileID: 0}
- target: {fileID: 2629787353905012131, guid: 84359146bf7af47e58c229d877e801d7,
type: 3}
propertyPath: m_ConnectedAnchor.x
value: -0.49999988
objectReference: {fileID: 0}
- target: {fileID: 2629787353931529269, guid: 84359146bf7af47e58c229d877e801d7,
type: 3}
propertyPath: m_ConnectedAnchor.x
value: -0.3999939
objectReference: {fileID: 0}
- target: {fileID: 2629787353937792610, guid: 84359146bf7af47e58c229d877e801d7,
type: 3}
propertyPath: m_ConnectedAnchor.x
value: 0.000000059604645
objectReference: {fileID: 0}
- target: {fileID: 2629787354032373474, guid: 84359146bf7af47e58c229d877e801d7,
type: 3}
propertyPath: m_ConnectedAnchor.x
value: 0.49999988
objectReference: {fileID: 0}
- target: {fileID: 2629787354353819707, guid: 84359146bf7af47e58c229d877e801d7,
type: 3}
propertyPath: m_ConnectedAnchor.x
value: -0.000000059604645
objectReference: {fileID: 0}
- target: {fileID: 2629787354512086317, guid: 84359146bf7af47e58c229d877e801d7,
type: 3}
propertyPath: m_ConnectedAnchor.x
value: 0.3999939
objectReference: {fileID: 0}
- target: {fileID: 2629787354515440666, guid: 84359146bf7af47e58c229d877e801d7,
type: 3}
propertyPath: m_ConnectedAnchor.x
value: -0.000000059604645
objectReference: {fileID: 0}
- target: {fileID: 6713178126238440196, guid: 84359146bf7af47e58c229d877e801d7,
type: 3}
propertyPath: m_Name

- target: {fileID: 2629787353138676179, guid: 84359146bf7af47e58c229d877e801d7,
type: 3}
propertyPath: m_ConnectedAnchor.x
value: 0.6999968
value: 0.7000121
objectReference: {fileID: 0}
- target: {fileID: 2629787353404537184, guid: 84359146bf7af47e58c229d877e801d7,
type: 3}

- target: {fileID: 2629787353713959312, guid: 84359146bf7af47e58c229d877e801d7,
type: 3}
propertyPath: m_ConnectedAnchor.x
value: 0.69999695
value: 0.7000122
value: -0.6999968
value: -0.7000121
value: -0.69999695
value: -0.7000122
objectReference: {fileID: 0}
- target: {fileID: 2629787353905012131, guid: 84359146bf7af47e58c229d877e801d7,
type: 3}

m_Modification:
m_TransformParent: {fileID: 0}
m_Modifications:
- target: {fileID: 2629787353138676179, guid: 84359146bf7af47e58c229d877e801d7,
type: 3}
propertyPath: m_ConnectedAnchor.x
value: 0.6999968
objectReference: {fileID: 0}
- target: {fileID: 2629787353404537184, guid: 84359146bf7af47e58c229d877e801d7,
type: 3}
propertyPath: m_ConnectedAnchor.x
value: 0.000000059604645
objectReference: {fileID: 0}
- target: {fileID: 2629787353713959312, guid: 84359146bf7af47e58c229d877e801d7,
type: 3}
propertyPath: m_ConnectedAnchor.x
value: 0.69999695
objectReference: {fileID: 0}
- target: {fileID: 2629787353844746734, guid: 84359146bf7af47e58c229d877e801d7,
type: 3}
propertyPath: m_ConnectedAnchor.x
value: -0.6999968
objectReference: {fileID: 0}
- target: {fileID: 2629787353863078002, guid: 84359146bf7af47e58c229d877e801d7,
type: 3}
propertyPath: m_ConnectedAnchor.x
value: -0.69999695
objectReference: {fileID: 0}
- target: {fileID: 2629787353905012131, guid: 84359146bf7af47e58c229d877e801d7,
type: 3}
propertyPath: m_ConnectedAnchor.x
value: -0.49999988
objectReference: {fileID: 0}
- target: {fileID: 2629787353931529269, guid: 84359146bf7af47e58c229d877e801d7,
type: 3}
propertyPath: m_ConnectedAnchor.x
value: -0.3999939
objectReference: {fileID: 0}
- target: {fileID: 2629787353937792610, guid: 84359146bf7af47e58c229d877e801d7,
type: 3}
propertyPath: m_ConnectedAnchor.x
value: 0.000000059604645
objectReference: {fileID: 0}
- target: {fileID: 2629787354032373474, guid: 84359146bf7af47e58c229d877e801d7,
type: 3}
propertyPath: m_ConnectedAnchor.x
value: 0.49999988
objectReference: {fileID: 0}
- target: {fileID: 2629787354353819707, guid: 84359146bf7af47e58c229d877e801d7,
type: 3}
propertyPath: m_ConnectedAnchor.x
value: -0.000000059604645
objectReference: {fileID: 0}
- target: {fileID: 2629787354512086317, guid: 84359146bf7af47e58c229d877e801d7,
type: 3}
propertyPath: m_ConnectedAnchor.x
value: 0.3999939
objectReference: {fileID: 0}
- target: {fileID: 2629787354515440666, guid: 84359146bf7af47e58c229d877e801d7,
type: 3}
propertyPath: m_ConnectedAnchor.x
value: -0.000000059604645
objectReference: {fileID: 0}
- target: {fileID: 6713178126238440196, guid: 84359146bf7af47e58c229d877e801d7,
type: 3}
propertyPath: m_Name

m_Modification:
m_TransformParent: {fileID: 0}
m_Modifications:
- target: {fileID: 2629787353138676179, guid: 84359146bf7af47e58c229d877e801d7,
type: 3}
propertyPath: m_ConnectedAnchor.x
value: 0.6999968
objectReference: {fileID: 0}
- target: {fileID: 2629787353404537184, guid: 84359146bf7af47e58c229d877e801d7,
type: 3}
propertyPath: m_ConnectedAnchor.x
value: 0.000000059604645
objectReference: {fileID: 0}
- target: {fileID: 2629787353713959312, guid: 84359146bf7af47e58c229d877e801d7,
type: 3}
propertyPath: m_ConnectedAnchor.x
value: 0.69999695
objectReference: {fileID: 0}
- target: {fileID: 2629787353844746734, guid: 84359146bf7af47e58c229d877e801d7,
type: 3}
propertyPath: m_ConnectedAnchor.x
value: -0.6999968
objectReference: {fileID: 0}
- target: {fileID: 2629787353863078002, guid: 84359146bf7af47e58c229d877e801d7,
type: 3}
propertyPath: m_ConnectedAnchor.x
value: -0.69999695
objectReference: {fileID: 0}
- target: {fileID: 2629787353905012131, guid: 84359146bf7af47e58c229d877e801d7,
type: 3}
propertyPath: m_ConnectedAnchor.x
value: -0.49999988
objectReference: {fileID: 0}
- target: {fileID: 2629787353931529269, guid: 84359146bf7af47e58c229d877e801d7,
type: 3}
propertyPath: m_ConnectedAnchor.x
value: -0.3999939
objectReference: {fileID: 0}
- target: {fileID: 2629787353937792610, guid: 84359146bf7af47e58c229d877e801d7,
type: 3}
propertyPath: m_ConnectedAnchor.x
value: 0.000000059604645
objectReference: {fileID: 0}
- target: {fileID: 2629787354032373474, guid: 84359146bf7af47e58c229d877e801d7,
type: 3}
propertyPath: m_ConnectedAnchor.x
value: 0.49999988
objectReference: {fileID: 0}
- target: {fileID: 2629787354353819707, guid: 84359146bf7af47e58c229d877e801d7,
type: 3}
propertyPath: m_ConnectedAnchor.x
value: -0.000000059604645
objectReference: {fileID: 0}
- target: {fileID: 2629787354512086317, guid: 84359146bf7af47e58c229d877e801d7,
type: 3}
propertyPath: m_ConnectedAnchor.x
value: 0.3999939
objectReference: {fileID: 0}
- target: {fileID: 2629787354515440666, guid: 84359146bf7af47e58c229d877e801d7,
type: 3}
propertyPath: m_ConnectedAnchor.x
value: -0.000000059604645
objectReference: {fileID: 0}
- target: {fileID: 6713178126238440196, guid: 84359146bf7af47e58c229d877e801d7,
type: 3}
propertyPath: m_Name

- target: {fileID: 2629787353138676179, guid: 84359146bf7af47e58c229d877e801d7,
type: 3}
propertyPath: m_ConnectedAnchor.x
value: 0.6999968
value: 0.7000121
objectReference: {fileID: 0}
- target: {fileID: 2629787353404537184, guid: 84359146bf7af47e58c229d877e801d7,
type: 3}

- target: {fileID: 2629787353713959312, guid: 84359146bf7af47e58c229d877e801d7,
type: 3}
propertyPath: m_ConnectedAnchor.x
value: 0.69999695
value: 0.7000122
value: -0.6999968
value: -0.7000121
value: -0.69999695
value: -0.7000122
objectReference: {fileID: 0}
- target: {fileID: 2629787353905012131, guid: 84359146bf7af47e58c229d877e801d7,
type: 3}

m_Modification:
m_TransformParent: {fileID: 0}
m_Modifications:
- target: {fileID: 5047057869591498720, guid: 84359146bf7af47e58c229d877e801d7,
type: 3}
propertyPath: m_Model
value:
objectReference: {fileID: 11400000, guid: dc2e1982748f3474383cc108ef2f7f26,
type: 3}
- target: {fileID: 6713178126238440196, guid: 84359146bf7af47e58c229d877e801d7,
type: 3}
propertyPath: m_Name

7
Project/Assets/ML-Agents/Examples/Walker/Scripts/WalkerAgent.cs


);
}
// c. Encourage head height.
var headHeightOverFeetReward =
Mathf.Clamp01(((head.position.y - footL.position.y) + (head.position.y - footR.position.y))/ 10); //Should normalize to ~1
AddReward(matchSpeedReward * lookAtTargetReward * headHeightOverFeetReward);
// AddReward(matchSpeedReward * lookAtTargetReward);
AddReward(matchSpeedReward * lookAtTargetReward);
}
//Returns the average velocity of all of the body parts

8
Project/Assets/ML-Agents/Examples/Walker/TFModels/ObserveDist.meta


fileFormatVersion: 2
guid: a4c86e35548874a8d80fa1c183b68018
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

8
Project/Assets/ML-Agents/Examples/Walker/TFModels/ObserveDistWithHH.meta


fileFormatVersion: 2
guid: d7305d5b0d0e24dd494eabf514fa7801
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

1001
Project/Assets/ML-Agents/Examples/Walker/TFModels/ObserveDist/WalkerDynamic.nn
文件差异内容过多而无法显示
查看文件

11
Project/Assets/ML-Agents/Examples/Walker/TFModels/ObserveDist/WalkerDynamic.nn.meta


fileFormatVersion: 2
guid: e3bbf8676df3c415dac2a116b343b9f1
ScriptedImporter:
fileIDToRecycleName:
11400000: main obj
11400002: model data
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
script: {fileID: 11500000, guid: 19ed1486aa27d4903b34839f37b8f69f, type: 3}

1001
Project/Assets/ML-Agents/Examples/Walker/TFModels/ObserveDist/WalkerDynamicVariableSpeed.nn
文件差异内容过多而无法显示
查看文件

11
Project/Assets/ML-Agents/Examples/Walker/TFModels/ObserveDist/WalkerDynamicVariableSpeed.nn.meta


fileFormatVersion: 2
guid: dc2e1982748f3474383cc108ef2f7f26
ScriptedImporter:
fileIDToRecycleName:
11400000: main obj
11400002: model data
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
script: {fileID: 11500000, guid: 19ed1486aa27d4903b34839f37b8f69f, type: 3}

1001
Project/Assets/ML-Agents/Examples/Walker/TFModels/ObserveDist/WalkerStatic.nn
文件差异内容过多而无法显示
查看文件

11
Project/Assets/ML-Agents/Examples/Walker/TFModels/ObserveDist/WalkerStatic.nn.meta


fileFormatVersion: 2
guid: e41acb4dffc814200b7789d02f04a83a
ScriptedImporter:
fileIDToRecycleName:
11400000: main obj
11400002: model data
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
script: {fileID: 11500000, guid: 19ed1486aa27d4903b34839f37b8f69f, type: 3}

1001
Project/Assets/ML-Agents/Examples/Walker/TFModels/ObserveDist/WalkerStaticVariableSpeed.nn
文件差异内容过多而无法显示
查看文件

11
Project/Assets/ML-Agents/Examples/Walker/TFModels/ObserveDist/WalkerStaticVariableSpeed.nn.meta


fileFormatVersion: 2
guid: 0fbba45545dc944969c95565fa88d4fa
ScriptedImporter:
fileIDToRecycleName:
11400000: main obj
11400002: model data
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
script: {fileID: 11500000, guid: 19ed1486aa27d4903b34839f37b8f69f, type: 3}

1001
Project/Assets/ML-Agents/Examples/Walker/TFModels/ObserveDistWithHH/WalkerDynamic.nn
文件差异内容过多而无法显示
查看文件

11
Project/Assets/ML-Agents/Examples/Walker/TFModels/ObserveDistWithHH/WalkerDynamic.nn.meta


fileFormatVersion: 2
guid: d633364f4de8d40969e988a90998d0c5
ScriptedImporter:
fileIDToRecycleName:
11400000: main obj
11400002: model data
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
script: {fileID: 11500000, guid: 19ed1486aa27d4903b34839f37b8f69f, type: 3}

1001
Project/Assets/ML-Agents/Examples/Walker/TFModels/ObserveDistWithHH/WalkerDynamicVariableSpeed.nn
文件差异内容过多而无法显示
查看文件

11
Project/Assets/ML-Agents/Examples/Walker/TFModels/ObserveDistWithHH/WalkerDynamicVariableSpeed.nn.meta


fileFormatVersion: 2
guid: 5f0850b081f32453a80ea5fd89f387dd
ScriptedImporter:
fileIDToRecycleName:
11400000: main obj
11400002: model data
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
script: {fileID: 11500000, guid: 19ed1486aa27d4903b34839f37b8f69f, type: 3}

1001
Project/Assets/ML-Agents/Examples/Walker/TFModels/ObserveDistWithHH/WalkerStatic.nn
文件差异内容过多而无法显示
查看文件

11
Project/Assets/ML-Agents/Examples/Walker/TFModels/ObserveDistWithHH/WalkerStatic.nn.meta


fileFormatVersion: 2
guid: 84eca7ac007fb41a3baa22fc305fb118
ScriptedImporter:
fileIDToRecycleName:
11400000: main obj
11400002: model data
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
script: {fileID: 11500000, guid: 19ed1486aa27d4903b34839f37b8f69f, type: 3}

1001
Project/Assets/ML-Agents/Examples/Walker/TFModels/ObserveDistWithHH/WalkerStaticVariableSpeed.nn
文件差异内容过多而无法显示
查看文件

11
Project/Assets/ML-Agents/Examples/Walker/TFModels/ObserveDistWithHH/WalkerStaticVariableSpeed.nn.meta


fileFormatVersion: 2
guid: 9d60dc9475946495da11647a5df9fe0a
ScriptedImporter:
fileIDToRecycleName:
11400000: main obj
11400002: model data
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
script: {fileID: 11500000, guid: 19ed1486aa27d4903b34839f37b8f69f, type: 3}
正在加载...
取消
保存