浏览代码

remove debug log

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

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


sensor.AddObservation(System.Convert.ToInt32(m_BallScript.lastFloorHit == HitWall.FloorHit.FloorHitUnset));
AddReward(m_BallTouch * (1f / Vector3.Distance(ball.transform.position, transform.position)));
Debug.Log(m_BallTouch * (1f / Vector3.Distance(ball.transform.position, transform.position)));
}
public override void OnActionReceived(float[] vectorAction)

2
config/curricula/tennis.yaml


Tennis:
measure: progress
thresholds: [0.02, 0.04, 0.06, 0.08, 0.1, 0.12, 0.14, 0.16, 0.18, 0.2]
thresholds: [0.01, 0.02, 0.03, 0.04, 0.05, 0.06, 0.07, 0.08, 0.09, 0.1]
min_lesson_length: 100
signal_smoothing: true
parameters:
正在加载...
取消
保存