浏览代码

remove h rew 10k strength

/active-variablespeed
HH 4 年前
当前提交
4a1a3210
共有 12 个文件被更改,包括 4062 次插入6 次删除
  1. 2
      Project/Assets/ML-Agents/Examples/Walker/Prefabs/Ragdoll/WalkerRagdollBase.prefab
  2. 10
      Project/Assets/ML-Agents/Examples/Walker/Scripts/WalkerAgent.cs
  3. 8
      Project/Assets/ML-Agents/Examples/Walker/TFModels/15kstrength.meta
  4. 1001
      Project/Assets/ML-Agents/Examples/Walker/TFModels/15kstrength/WalkerDynamic.nn
  5. 11
      Project/Assets/ML-Agents/Examples/Walker/TFModels/15kstrength/WalkerDynamic.nn.meta
  6. 1001
      Project/Assets/ML-Agents/Examples/Walker/TFModels/15kstrength/WalkerDynamicVariableSpeed.nn
  7. 11
      Project/Assets/ML-Agents/Examples/Walker/TFModels/15kstrength/WalkerDynamicVariableSpeed.nn.meta
  8. 1001
      Project/Assets/ML-Agents/Examples/Walker/TFModels/15kstrength/WalkerStatic.nn
  9. 11
      Project/Assets/ML-Agents/Examples/Walker/TFModels/15kstrength/WalkerStatic.nn.meta
  10. 1001
      Project/Assets/ML-Agents/Examples/Walker/TFModels/15kstrength/WalkerStaticVariableSpeed.nn
  11. 11
      Project/Assets/ML-Agents/Examples/Walker/TFModels/15kstrength/WalkerStaticVariableSpeed.nn.meta

2
Project/Assets/ML-Agents/Examples/Walker/Prefabs/Ragdoll/WalkerRagdollBase.prefab


m_EditorClassIdentifier:
maxJointSpring: 40000
jointDampen: 5000
maxJointForceLimit: 15000
maxJointForceLimit: 10000
bodyPartsList: []
--- !u!114 &895268871377934302
MonoBehaviour:

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


//This reward will approach 1 if it faces the target direction perfectly and approach zero as it deviates
var lookAtTargetReward = (Vector3.Dot(cubeForward, head.forward) + 1) * .5F;
// 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
// var headHeightOverFeetReward =
// Mathf.Clamp01(((head.position.y - footL.position.y) + (head.position.y - footR.position.y))/ 10); //Should normalize to ~1
rewardManager.rewardsDict["headHeightOverFeet"].rewardThisStep = headHeightOverFeetReward;
rewardManager.UpdateReward("productOfAllRewards", matchSpeedReward * lookAtTargetReward * headHeightOverFeetReward);
// rewardManager.UpdateReward("productOfAllRewards", matchSpeedReward * lookAtTargetReward);
// rewardManager.rewardsDict["headHeightOverFeet"].rewardThisStep = headHeightOverFeetReward;
// rewardManager.UpdateReward("productOfAllRewards", matchSpeedReward * lookAtTargetReward * headHeightOverFeetReward);
rewardManager.UpdateReward("productOfAllRewards", matchSpeedReward * lookAtTargetReward);
}
//Returns the average velocity of all the rigidbodies

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


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

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

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


fileFormatVersion: 2
guid: 0c7b7265a0cb947abb5407bb377280d2
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/15kstrength/WalkerDynamicVariableSpeed.nn
文件差异内容过多而无法显示
查看文件

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


fileFormatVersion: 2
guid: a67b3873f0c28467ba1cae11f1983769
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/15kstrength/WalkerStatic.nn
文件差异内容过多而无法显示
查看文件

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


fileFormatVersion: 2
guid: e598c0055919043a2a032aba1c089df3
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/15kstrength/WalkerStaticVariableSpeed.nn
文件差异内容过多而无法显示
查看文件

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


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