浏览代码

remove time penalty

/develop/zombie-exp
Andrew Cohen 4 年前
当前提交
3d5f4e35
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 2
      Project/Assets/ML-Agents/Examples/PushBlock/Scripts/PushAgentCollab.cs

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 / MaxStep);
}
public override void Heuristic(in ActionBuffers actionsOut)

正在加载...
取消
保存