浏览代码

Hit bonus for whole exp

/asymm-envs
Andrew Cohen 5 年前
当前提交
428b1dfa
共有 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 + 0.18f * m_BallTouch);
}
}

正在加载...
取消
保存