浏览代码

trying to figure out shuffle foot regression. added 10k no hh model

/active-variablespeed
HH 4 年前
当前提交
af8b2e3b
共有 14 个文件被更改,包括 3053 次插入11 次删除
  1. 9
      Project/Assets/ML-Agents/Examples/SharedAssets/Scripts/GroundContact.cs
  2. 2
      Project/Assets/ML-Agents/Examples/Walker/Scenes/WalkerDynamicVariableSpeed.unity
  3. 6
      Project/Assets/ML-Agents/Examples/Walker/Scenes/WalkerStaticVariableSpeed.unity
  4. 3
      Project/Assets/ML-Agents/Examples/Walker/Scripts/WalkerAgent.cs
  5. 8
      Project/Assets/ML-Agents/Examples/Walker/TFModels/10k no hh.meta
  6. 1001
      Project/Assets/ML-Agents/Examples/Walker/TFModels/10k no hh/WalkerDynamicVariableSpeed.nn
  7. 11
      Project/Assets/ML-Agents/Examples/Walker/TFModels/10k no hh/WalkerDynamicVariableSpeed.nn.meta
  8. 1001
      Project/Assets/ML-Agents/Examples/Walker/TFModels/10k no hh/WalkerStatic.nn
  9. 11
      Project/Assets/ML-Agents/Examples/Walker/TFModels/10k no hh/WalkerStatic.nn.meta
  10. 1001
      Project/Assets/ML-Agents/Examples/Walker/TFModels/10k no hh/WalkerStaticVariableSpeed.nn
  11. 11
      Project/Assets/ML-Agents/Examples/Walker/TFModels/10k no hh/WalkerStaticVariableSpeed.nn.meta
  12. 0
      /Project/Assets/ML-Agents/Examples/Walker/TFModels/15kstrength with hh
  13. 0
      /Project/Assets/ML-Agents/Examples/Walker/TFModels/15kstrength with hh.meta

9
Project/Assets/ML-Agents/Examples/SharedAssets/Scripts/GroundContact.cs


if (penalizeGroundContact)
{
agent.SetReward(groundContactPenalty);
// agent.SetReward(0);
}
if (agentDoneOnGroundContact)

}
}
// void FixedUpdate()
// {
// if (touchingGround)
// {
// agent.SetReward(0);
// }
// }
/// <summary>
/// Check for end of ground collision and reset flag appropriately.

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


type: 3}
propertyPath: m_Model
value:
objectReference: {fileID: 11400000, guid: 46a49bf7975bf4108b48c00fa9babac1,
objectReference: {fileID: 11400000, guid: e23daf5f8436b4eea9c3570ac221f239,
type: 3}
- target: {fileID: 7964409123409882683, guid: 4ee4867f326424260aa2753712f3d643,
type: 3}

6
Project/Assets/ML-Agents/Examples/Walker/Scenes/WalkerStaticVariableSpeed.unity


m_Modification:
m_TransformParent: {fileID: 0}
m_Modifications:
- target: {fileID: 1077752704035527913, guid: d0b01030cfe47462398dd15595ca95de,
type: 3}
propertyPath: m_Model
value:
objectReference: {fileID: 11400000, guid: e23daf5f8436b4eea9c3570ac221f239,
type: 3}
- target: {fileID: 1077752704035527914, guid: d0b01030cfe47462398dd15595ca95de,
type: 3}
propertyPath: m_LocalPosition.x

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


targetPos.y = 0;
Vector3 relPos = Vector3.ClampMagnitude(m_OrientationCube.transform.InverseTransformPoint(targetPos), 100);
sensor.AddObservation(relPos);
// Debug.DrawRay(targetPos, Vector3.up, Color.green,1);
Debug.DrawRay(targetPos, Vector3.up, Color.green,1);
Debug.DrawRay(m_OrientationCube.transform.InverseTransformPoint(targetPos), Vector3.up * 2, Color.red,5);
// sensor.AddObservation(Vector3.ClampMagnitude(m_OrientationCube.transform.InverseTransformPoint(target.transform.position), 100)
// sensor.AddObservation(targetPos);

8
Project/Assets/ML-Agents/Examples/Walker/TFModels/10k no hh.meta


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

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

11
Project/Assets/ML-Agents/Examples/Walker/TFModels/10k no hh/WalkerDynamicVariableSpeed.nn.meta


fileFormatVersion: 2
guid: e23daf5f8436b4eea9c3570ac221f239
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/10k no hh/WalkerStatic.nn
文件差异内容过多而无法显示
查看文件

11
Project/Assets/ML-Agents/Examples/Walker/TFModels/10k no hh/WalkerStatic.nn.meta


fileFormatVersion: 2
guid: d22974c7324d24568ac073d30caa23e6
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/10k no hh/WalkerStaticVariableSpeed.nn
文件差异内容过多而无法显示
查看文件

11
Project/Assets/ML-Agents/Examples/Walker/TFModels/10k no hh/WalkerStaticVariableSpeed.nn.meta


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

/Project/Assets/ML-Agents/Examples/Walker/TFModels/15kstrength → /Project/Assets/ML-Agents/Examples/Walker/TFModels/15kstrength with hh

/Project/Assets/ML-Agents/Examples/Walker/TFModels/15kstrength.meta → /Project/Assets/ML-Agents/Examples/Walker/TFModels/15kstrength with hh.meta

正在加载...
取消
保存