Skip to content

Commit 073d045

Browse files
committed
change train_end to valdiation_end
1 parent 4fe2598 commit 073d045

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

external/anomaly/ote_anomalib/callbacks/score_report.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ def __init__(self, parameters: Optional[TrainParameters] = None) -> None:
3131
else:
3232
self.score_reporting_callback = None
3333

34-
def on_train_epoch_end(self, trainer, pl_module):
34+
def on_validation_epoch_end(self, trainer, pl_module):
3535
"""
3636
If score exists in trainer.logged_metrics, report the score.
3737
"""

0 commit comments

Comments
 (0)