Skip to content

Commit 0d4f8a4

Browse files
authored
Rename validation_epoch_end -> on_validation_epoch_end
ref Lightning-AI/pytorch-lightning#16520
1 parent 28ca9de commit 0d4f8a4

File tree

1 file changed

+1
-1
lines changed
  • multimodal/src/autogluon/multimodal/optimization

1 file changed

+1
-1
lines changed

multimodal/src/autogluon/multimodal/optimization/lit_mmdet.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,7 @@ def validation_step(self, batch, batch_idx, dataloader_idx=0):
230230
else:
231231
self.evaluate(batch, "val")
232232

233-
def validation_epoch_end(self, validation_step_outputs):
233+
def on_validation_epoch_end(self):
234234
val_result = self.validation_metric.compute()
235235
if self.use_loss:
236236
self.log_dict({"val_direct_loss": val_result}, sync_dist=True)

0 commit comments

Comments
 (0)