浏览代码

Fix ghost trainer locking up

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

2
ml-agents/mlagents/trainers/ghost/trainer.py


pass
self.next_summary_step = self.trainer.next_summary_step
self.trainer.advance()
self.trainer.advance(empty_queue=empty_queue)
if self.get_step - self.last_team_change > self.steps_to_train_team:
self.controller.change_training_team(self.get_step)
self.last_team_change = self.get_step

正在加载...
取消
保存