浏览代码

Fix EndEpisode bug aand change colors

/develop/superpush
Ervin Teng 4 年前
当前提交
855c480a
共有 4 个文件被更改,包括 1026 次插入11 次删除
  1. 20
      Project/Assets/ML-Agents/Examples/PushBlock/Prefabs/PushBlockCollabArea.prefab
  2. 2
      Project/Assets/ML-Agents/Examples/PushBlock/Scripts/PushAgentCollab.cs
  3. 1001
      Project/Assets/ML-Agents/Examples/PushBlock/TFModels/PushBlockCollabSuper.onnx
  4. 14
      Project/Assets/ML-Agents/Examples/PushBlock/TFModels/PushBlockCollabSuper.onnx.meta

20
Project/Assets/ML-Agents/Examples/PushBlock/Prefabs/PushBlockCollabArea.prefab


m_Script: {fileID: 11500000, guid: 4bb2bb36bb51d452ab58d30a868dfab3, type: 3}
m_Name:
m_EditorClassIdentifier:
MaxEnvironmentSteps: 25000
MaxEnvironmentSteps: 15000
areaBounds:
m_Center: {x: 0, y: 0, z: 0}
m_Extent: {x: 0, y: 0, z: 0}

m_Name:
m_EditorClassIdentifier:
tagToDetect: goal
GoalValue: 2
GoalValue: 8
onTriggerEnterEvent:
m_PersistentCalls:
m_Calls:

m_Name:
m_EditorClassIdentifier:
tagToDetect: goal
GoalValue: 2
GoalValue: 8
onTriggerEnterEvent:
m_PersistentCalls:
m_Calls:

VectorActionDescriptions: []
VectorActionSpaceType: 0
hasUpgradedBrainParametersWithActionSpec: 1
m_Model: {fileID: 11400000, guid: a051c5abff78d40c586086c42e713e18, type: 3}
m_Model: {fileID: 11400000, guid: 8d7f626dfcc954b5f9083ea40d739417, type: 3}
m_InferenceDevice: 0
m_BehaviorType: 0
m_BehaviorName: PushBlock

agentParameters:
maxStep: 0
hasUpgradedFromAgentParameters: 1
MaxStep: 5000
MaxStep: 0
useVectorObs: 1
--- !u!65 &2416809913911815185
BoxCollider:

VectorActionDescriptions: []
VectorActionSpaceType: 0
hasUpgradedBrainParametersWithActionSpec: 1
m_Model: {fileID: 11400000, guid: a051c5abff78d40c586086c42e713e18, type: 3}
m_Model: {fileID: 11400000, guid: 8d7f626dfcc954b5f9083ea40d739417, type: 3}
m_InferenceDevice: 0
m_BehaviorType: 0
m_BehaviorName: PushBlock

agentParameters:
maxStep: 0
hasUpgradedFromAgentParameters: 1
MaxStep: 5000
MaxStep: 0
useVectorObs: 1
--- !u!65 &2404981946995968560
BoxCollider:

m_RenderingLayerMask: 1
m_RendererPriority: 0
m_Materials:
- {fileID: 2100000, guid: b0da1813c36914e678ba57f2790424e1, type: 2}
- {fileID: 2100000, guid: 52eab8ab5010f438fab93da85735ba1d, type: 2}
m_StaticBatchInfo:
firstSubMesh: 0
subMeshCount: 0

VectorActionDescriptions: []
VectorActionSpaceType: 0
hasUpgradedBrainParametersWithActionSpec: 1
m_Model: {fileID: 11400000, guid: a051c5abff78d40c586086c42e713e18, type: 3}
m_Model: {fileID: 11400000, guid: 8d7f626dfcc954b5f9083ea40d739417, type: 3}
m_InferenceDevice: 0
m_BehaviorType: 0
m_BehaviorName: PushBlock

agentParameters:
maxStep: 0
hasUpgradedFromAgentParameters: 1
MaxStep: 5000
MaxStep: 0
useVectorObs: 1
--- !u!65 &3476783554245707143
BoxCollider:

2
Project/Assets/ML-Agents/Examples/PushBlock/Scripts/PushAgentCollab.cs


MoveAgent(actionBuffers.DiscreteActions);
// Penalty given each step to encourage agent to finish task quickly.
AddReward(-1f / MaxStep);
AddReward(-1f / 15000);
}
public override void Heuristic(in ActionBuffers actionsOut)

1001
Project/Assets/ML-Agents/Examples/PushBlock/TFModels/PushBlockCollabSuper.onnx
文件差异内容过多而无法显示
查看文件

14
Project/Assets/ML-Agents/Examples/PushBlock/TFModels/PushBlockCollabSuper.onnx.meta


fileFormatVersion: 2
guid: 8d7f626dfcc954b5f9083ea40d739417
ScriptedImporter:
fileIDToRecycleName:
11400000: main obj
11400002: model data
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
script: {fileID: 11500000, guid: 683b6cb6d0a474744822c888b46772c9, type: 3}
optimizeModel: 1
forceArbitraryBatchSize: 1
treatErrorsAsWarnings: 0
正在加载...
取消
保存