Checkpoint monitor str in default Trainer
❓ Questions and Help
Hi,
In the default setting (with checkpoint_callback=True), when the method configure_checkpoint_callback is invoked by the c'ntr, the model hasn't yet been loaded to the trainer (as run_pretrain_routine is invoked only after fit()).
Thus, when calling self.configure_checkpoint_callback(True), the line train_step_only = not self.is_overridden('validation_step') always returns False; even if validation_step was overridden in the user-class which extends pl.LightningModule.
This can obviously be solved by instantiating an exterior ModelCheckpoint(), but I guess this is not what was intended.
I'm new to this community, so I might be missing something here.
Thanks in advance!