Skip to content

Commit

Permalink
tmp: regime fix for pytorch-lightning 2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
nkemnitz committed Oct 18, 2023
1 parent 2effad0 commit b563936
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ def log_results(mode: str, title_suffix: str = "", **kwargs):
def validation_epoch_start(self, _): # pylint: disable=no-self-use
seed_everything(42)

def validation_epoch_end(self, _):
def on_validation_epoch_end(self):
self.log_results(
"val",
"worst",
Expand Down

0 comments on commit b563936

Please sign in to comment.