removed stats tracker; consolidate writers into local writer

This commit is contained in:
evonneng committed 2022-05-20 02:19:44 +00:00
1 parent 4dee65b480
commit 59eeaca93b
9 files changed
+248 -316

No files matched your search

+1 -1
View File
@@ -83,4 +83,4 @@ class Optimizers:
scheduler.step()
# TODO(ethan): clean this up. why is there indexing into a list?
lr = scheduler.get_last_lr()[0]
writer.write_scalar(name=f"{param_group_name}", scalar=lr, step=step, group="learning_rate")
writer.put_scalar(name=f"{param_group_name}", scalar=lr, step=step, group="learning_rate")