浏览代码

revert previous commit

/develop-generalizationTraining-TrainerController
vincentpierre 7 年前
当前提交
a7de9336
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 2
      unity-environment/Assets/ML-Agents/Scripts/Agent.cs

2
unity-environment/Assets/ML-Agents/Scripts/Agent.cs


{
memory = new float[brain.brainParameters.memorySize];
stepCounter = 0;
CumulativeReward = 0f;
AgentReset();
}

public void ResetReward()
{
reward = 0;
CumulativeReward = 0f;
}
}
正在加载...
取消
保存