I’d like to save a checkpoint for my best model but also keep the latest epoch’s checkpoint for later resuming. Is the right way to do this like so:
>>> checkpoint_callback = ModelCheckpoint(save_last=True)
>>> trainer = Trainer(checkpoint_callback=checkpoint_callback)
The documentation for save_last
isn’t clear whether this will overwrite the checkpoint that achieves the best validation loss or not.