Closed irleader closed 6 months ago
ModelCheckpoint
from PyTorch Lightning, so for specific implementation details, check out their documentation. For example, set save_top_k=-1
to retain all model checkpoints.We want to make saving models more flexible (#313, #291), but this will take a bit more time.
In version 3, every_n_train_steps is specified to save model weights for each n train steps. I usually pick the model when validation AA prec and pep prec are both the best.
While in version 4, Casanovo only saves the top k models.
Sorry for the dumb questions.