Skip to content

Commit

Permalink
Bug with lightning LR scheduler fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
Roman Joeres authored and Roman Joeres committed Sep 11, 2024
1 parent 28dcaed commit d11fac5
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions gifflar/model/pretrain.py
Original file line number Diff line number Diff line change
Expand Up @@ -208,3 +208,6 @@ def configure_optimizers(self):
"monitor": "val/loss",
}

def lr_scheduler_step(self, scheduler, metric) -> None:
scheduler.step(self.current_epoch)

0 comments on commit d11fac5

Please sign in to comment.