浏览代码

asymm ghost test consistent

/develop/add-fire
Andrew Cohen 5 年前
当前提交
7006b5ff
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 2
      ml-agents/mlagents/trainers/tests/test_simple_rl.py

2
ml-agents/mlagents/trainers/tests/test_simple_rl.py


processed_rewards = [
default_reward_processor(rewards) for rewards in env.final_rewards.values()
]
success_threshold = 0.99
success_threshold = 0.9
assert any(reward > success_threshold for reward in processed_rewards) and any(
reward < success_threshold for reward in processed_rewards
)

正在加载...
取消
保存