浏览代码

remove obsv

/hh-develop-pushblockcollab
HH 4 年前
当前提交
082609be
共有 2 个文件被更改,包括 9 次插入9 次删除
  1. 4
      Project/Assets/ML-Agents/Examples/PushBlock/Prefabs/PushBlockCollabArea.prefab
  2. 14
      Project/Assets/ML-Agents/Examples/PushBlock/Scripts/PushAgentCollab.cs

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


m_Name:
m_EditorClassIdentifier:
m_BrainParameters:
VectorObservationSize: 1
VectorObservationSize: 0
NumStackedVectorObservations: 2
m_ActionSpec:
m_NumContinuousActions: 0

m_Name:
m_EditorClassIdentifier:
m_BrainParameters:
VectorObservationSize: 1
VectorObservationSize: 0
NumStackedVectorObservations: 2
m_ActionSpec:
m_NumContinuousActions: 0

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


ForceMode.VelocityChange);
}
public override void CollectObservations(VectorSensor sensor)
{
if (useVectorObs)
{
sensor.AddObservation(StepCount / (float)MaxStep);
}
}
// public override void CollectObservations(VectorSensor sensor)
// {
// if (useVectorObs)
// {
// sensor.AddObservation(StepCount / (float)MaxStep);
// }
// }
/// <summary>
/// Called every step of the engine. Here the agent takes an action.

正在加载...
取消
保存