in ppo_ewma/log_save_helper.py [0:0]
def __init__(
self,
model: "(nn.Module)",
ic_per_step: "(int) number of iteractions per logging step",
comm: "(MPI.Comm)" = None,
ic_per_save: "(int) save only after this many interactions" = 100_000,
save_mode: "(str) last: keep last model, all: keep all}" = "none",
t0: "(float) override training start timestamp" = None,
log_callbacks: "(list) extra callbacks to run before self.log()" = None,
log_new_eps: "(bool) whether to log statistics for new episodes from non-rolling buffer" = False,