浏览代码
Cleanup unused code in TrainerController (#2315)
Cleanup unused code in TrainerController (#2315)
* Removes unused SubprocessEnvManager import in trainer_controller * Removes unused `steps` argument to `TrainerController._save_model` * Consolidates unnecessary branching for curricula in `TrainerController.advance` * Moves `reward_buffer` into `TFPolicy` from `PPOPolicy` and adds `BCTrainer` support so that we don't have a broken interface / undefined behavior when BCTrainer is used with curricula./develop-generalizationTraining-TrainerController
GitHub
5 年前
当前提交
9eb3f049
共有 5 个文件被更改,包括 33 次插入 和 38 次删除
-
1ml-agents/mlagents/trainers/bc/trainer.py
-
16ml-agents/mlagents/trainers/ppo/trainer.py
-
2ml-agents/mlagents/trainers/tests/test_trainer_controller.py
-
14ml-agents/mlagents/trainers/trainer.py
-
38ml-agents/mlagents/trainers/trainer_controller.py
撰写
预览
正在加载...
取消
保存
Reference in new issue