浏览代码

small per timestep reward

/asymm-envs
Andrew Cohen 5 年前
当前提交
13fd97de
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 2
      Project/Assets/ML-Agents/Examples/Tennis/Scripts/TennisAgent.cs

2
Project/Assets/ML-Agents/Examples/Tennis/Scripts/TennisAgent.cs


{
if (c.gameObject.CompareTag("ball"))
{
AddReward(.2f * m_BallTouch);
AddReward(.02f + .18f * m_BallTouch);
}
}
public override void OnEpisodeBegin()

正在加载...
取消
保存