浏览代码

_

/exp-vince
vincentpierre 4 年前
当前提交
6cbe892f
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1
      ml-agents/mlagents/trainers/trainer/rl_trainer.py

1
ml-agents/mlagents/trainers/trainer/rl_trainer.py


self._next_summary_step = self._get_next_interval_step(self.summary_freq)
if step_after_process >= self._next_summary_step and self.get_step != 0:
self._write_summary(self._next_summary_step)
from guppy import hpy; h = hpy(); print(h.heap())
def _maybe_save_model(self, step_after_process: int) -> None:
"""

正在加载...
取消
保存