Inside a LightningModule,Pycharm allows 2 auto complete methods:
class MyModel(LightningModule):
def on_validation_epoch_end(self):
def validation_epoch_end(self, outs):
with on_validation_epoch_end referenced in hooks.py
def on_validation_epoch_end(self) -> None:
"""
Called in the validation loop at the very end of the epoch.
"""
# do something when the epoch ends
and
validation_epoch_end called in evaluation_loop.py as eval_results = model.validation_epoch_end(eval_results) leading to __run_eval_epoch_end.
What is the purpose of each of those?
I can only assume one is deprecated. Could not find any relevant docs.