浏览代码

Disable threading for all simple_rl tests

/develop/sac-apex
Ervin Teng 5 年前
当前提交
23039746
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. 2
      ml-agents/mlagents/trainers/tests/test_simple_rl.py

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


StatsReporter.writers.clear() # Clear StatsReporters so we don't write to file
debug_writer = DebugWriter()
StatsReporter.add_writer(debug_writer)
# Make sure threading is turned off for determinism
trainer_config["threading"] = False
if env_manager is None:
env_manager = SimpleEnvManager(env, FloatPropertiesChannel())
trainer_factory = TrainerFactory(

正在加载...
取消
保存