浏览代码

Instantiate SamplerManager in learn.py instead of trainer_controller

/develop-generalizationTraining-TrainerController
sankalp04 5 年前
当前提交
dacb420b
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. 2
      ml-agents/mlagents/trainers/learn.py

2
ml-agents/mlagents/trainers/learn.py


if sampler_file_path is not None:
sampler = load_config(sampler_file_path)
lesson_config = LessonController(lesson_config_path)
sampler_manager = SamplerManager(sampler)
trainer_config = load_config(trainer_config_path)
env_factory = create_environment_factory(

正在加载...
取消
保存