浏览代码

Got the walker to walk different based on diversity setting

/exp-diverse-behavior
vincentpierre 4 年前
当前提交
4bde393e
共有 4 个文件被更改,包括 1071 次插入2 次删除
  1. 56
      Project/Assets/ML-Agents/Examples/Walker/Scenes/Walker.unity
  2. 2
      ml-agents/mlagents/trainers/sac/optimizer_torch.py
  3. 1001
      Project/Assets/ML-Agents/Examples/Walker/TFModels/mede-walker-crazy-mutual-10000-nogound-penalty-01strength.onnx
  4. 14
      Project/Assets/ML-Agents/Examples/Walker/TFModels/mede-walker-crazy-mutual-10000-nogound-penalty-01strength.onnx.meta

56
Project/Assets/ML-Agents/Examples/Walker/Scenes/Walker.unity


propertyPath: m_LocalEulerAnglesHint.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 7819659174506835736, guid: 84359146bf7af47e58c229d877e801d7,
type: 3}
propertyPath: m_Model
value:
objectReference: {fileID: 5022602860645237092, guid: 371ea8d3fe4bf4cde9da72b71d914c52,
type: 3}
m_RemovedComponents: []
m_SourcePrefab: {fileID: 100100000, guid: 84359146bf7af47e58c229d877e801d7, type: 3}
--- !u!1001 &193531851

propertyPath: m_LocalEulerAnglesHint.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 7819659174506835736, guid: 84359146bf7af47e58c229d877e801d7,
type: 3}
propertyPath: m_Model
value:
objectReference: {fileID: 5022602860645237092, guid: 371ea8d3fe4bf4cde9da72b71d914c52,
type: 3}
m_RemovedComponents: []
m_SourcePrefab: {fileID: 100100000, guid: 84359146bf7af47e58c229d877e801d7, type: 3}
--- !u!1001 &476292838

propertyPath: m_LocalEulerAnglesHint.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 7819659174506835736, guid: 84359146bf7af47e58c229d877e801d7,
type: 3}
propertyPath: m_Model
value:
objectReference: {fileID: 5022602860645237092, guid: 371ea8d3fe4bf4cde9da72b71d914c52,
type: 3}
m_RemovedComponents: []
m_SourcePrefab: {fileID: 100100000, guid: 84359146bf7af47e58c229d877e801d7, type: 3}
--- !u!1 &781961355

propertyPath: m_LocalEulerAnglesHint.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 7819659174506835736, guid: 84359146bf7af47e58c229d877e801d7,
type: 3}
propertyPath: m_Model
value:
objectReference: {fileID: 5022602860645237092, guid: 371ea8d3fe4bf4cde9da72b71d914c52,
type: 3}
m_RemovedComponents: []
m_SourcePrefab: {fileID: 100100000, guid: 84359146bf7af47e58c229d877e801d7, type: 3}
--- !u!1001 &1062792380

propertyPath: m_LocalEulerAnglesHint.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 7819659174506835736, guid: 84359146bf7af47e58c229d877e801d7,
type: 3}
propertyPath: m_Model
value:
objectReference: {fileID: 5022602860645237092, guid: 371ea8d3fe4bf4cde9da72b71d914c52,
type: 3}
m_RemovedComponents: []
m_SourcePrefab: {fileID: 100100000, guid: 84359146bf7af47e58c229d877e801d7, type: 3}
--- !u!1001 &1071024415

propertyPath: m_LocalEulerAnglesHint.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 7819659174506835736, guid: 84359146bf7af47e58c229d877e801d7,
type: 3}
propertyPath: m_Model
value:
objectReference: {fileID: 5022602860645237092, guid: 371ea8d3fe4bf4cde9da72b71d914c52,
type: 3}
m_RemovedComponents: []
m_SourcePrefab: {fileID: 100100000, guid: 84359146bf7af47e58c229d877e801d7, type: 3}
--- !u!1001 &1237883783

propertyPath: m_LocalEulerAnglesHint.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 7819659174506835736, guid: 84359146bf7af47e58c229d877e801d7,
type: 3}
propertyPath: m_Model
value:
objectReference: {fileID: 5022602860645237092, guid: 371ea8d3fe4bf4cde9da72b71d914c52,
type: 3}
m_RemovedComponents: []
m_SourcePrefab: {fileID: 100100000, guid: 84359146bf7af47e58c229d877e801d7, type: 3}
--- !u!1 &1392866527

propertyPath: m_LocalEulerAnglesHint.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 7819659174506835736, guid: 84359146bf7af47e58c229d877e801d7,
type: 3}
propertyPath: m_Model
value:
objectReference: {fileID: 5022602860645237092, guid: 371ea8d3fe4bf4cde9da72b71d914c52,
type: 3}
m_RemovedComponents: []
m_SourcePrefab: {fileID: 100100000, guid: 84359146bf7af47e58c229d877e801d7, type: 3}
--- !u!1001 &1481808307

propertyPath: m_LocalEulerAnglesHint.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 7819659174506835736, guid: 84359146bf7af47e58c229d877e801d7,
type: 3}
propertyPath: m_Model
value:
objectReference: {fileID: 5022602860645237092, guid: 371ea8d3fe4bf4cde9da72b71d914c52,
type: 3}
m_RemovedComponents: []
m_SourcePrefab: {fileID: 100100000, guid: 84359146bf7af47e58c229d877e801d7, type: 3}
--- !u!1001 &2709362470382547191

type: 3}
propertyPath: m_Model
value:
objectReference: {fileID: 5022602860645237092, guid: 835f8eb9071634671bcaced1cea2136d,
objectReference: {fileID: 5022602860645237092, guid: 371ea8d3fe4bf4cde9da72b71d914c52,
type: 3}
m_RemovedComponents: []
m_SourcePrefab: {fileID: 100100000, guid: 84359146bf7af47e58c229d877e801d7, type: 3}

2
ml-agents/mlagents/trainers/sac/optimizer_torch.py


class DiverseNetworkVariational(torch.nn.Module):
EPSILON = 1e-10
STRENGTH = 1.0
STRENGTH = 0.1#1.0
# gradient_penalty_weight = 10.0
z_size = 128

1001
Project/Assets/ML-Agents/Examples/Walker/TFModels/mede-walker-crazy-mutual-10000-nogound-penalty-01strength.onnx
文件差异内容过多而无法显示
查看文件

14
Project/Assets/ML-Agents/Examples/Walker/TFModels/mede-walker-crazy-mutual-10000-nogound-penalty-01strength.onnx.meta


fileFormatVersion: 2
guid: 371ea8d3fe4bf4cde9da72b71d914c52
ScriptedImporter:
internalIDToNameTable: []
externalObjects: {}
serializedVersion: 2
userData:
assetBundleName:
assetBundleVariant:
script: {fileID: 11500000, guid: 683b6cb6d0a474744822c888b46772c9, type: 3}
optimizeModel: 1
forceArbitraryBatchSize: 1
treatErrorsAsWarnings: 0
importMode: 1
正在加载...
取消
保存