Commit 69a8a287 authored by Zhang690683220's avatar Zhang690683220
Browse files

add the missing resume_last_lr_step()

parent a7274ef0
......@@ -244,6 +244,9 @@ class OpenFoldWrapper(pl.LightningModule):
def on_save_checkpoint(self, checkpoint):
checkpoint["ema"] = self.ema.state_dict()
def resume_last_lr_step(self, lr_step):
self.last_lr_step = lr_step
def main(args):
if(args.seed is not None):
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment