We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9c3d6b8 commit b5fe056Copy full SHA for b5fe056
pytorch_lightning/trainer/configuration_validator.py
@@ -296,8 +296,8 @@ def _check_on_hpc_hooks(model: "pl.LightningModule") -> None:
296
# TODO: Remove on_epoch_start/on_epoch_end hooks in v1.8
297
def _check_on_epoch_start_end(model: "pl.LightningModule") -> None:
298
hooks = (
299
- ["on_epoch_start", "on_<train/validation/test>_epoch_start"],
300
- ["on_epoch_end", "on_<train/validation/test>_epoch_end"],
+ ("on_epoch_start", "on_<train/validation/test>_epoch_start"),
+ ("on_epoch_end", "on_<train/validation/test>_epoch_end"),
301
)
302
303
for hook, alternative_hook in hooks:
0 commit comments