浏览代码

[skip ci] handle missing timers better

/bullet-hell-barracuda-test-1.3.1
Chris Elion 4 年前
当前提交
37360d16
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 2
      ml-agents/tests/yamato/training_int_tests.py

2
ml-agents/tests/yamato/training_int_tests.py


timer_data = json.load(f)
gauges = timer_data.get("gauges", {})
rewards = gauges.get("Override_3DBall.CumulativeReward")
rewards = gauges.get("Override_3DBall.CumulativeReward", {})
max_reward = rewards.get("max")
if max_reward is None:
print(

正在加载...
取消
保存