checkpoint_callback = ModelCheckpoint(
monitor="val_loss",
dirpath=hparams.model_checkpoint.dir,
filename=hparams.model.name+"_"+hparams.data.name+"_{epoch:02d}",
save_top_k=1,
mode="min"
)
#UserWarning: Checkpoint directory With save_top_k=1, all files in this directory will be deleted when a checkpoint is saved!
Shouldn't it delete only the latest checkpoints of the same name?
Or should I have a directory for each model I train?