Add missing file

This commit is contained in:
Matt Tancik committed 2022-05-17 11:15:26 -07:00
1 parent 685f620313
commit 529d27e00d
1 file changed
+1 -1
+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_event({"name": f"{param_group_name}", "scalar": lr, "step": step, "group": "learning_rate"})
writer.write_scalar(name=f"{param_group_name}", scalar=lr, step=step, group="learning_rate")