For some projects, we have save_top_k to save the best checkpoints, but when we resume during test/predict we only use last.cpkt.
We should have some kind of option to load the best checkpoint during test/predict? It is okay if it only works with save_top_k=1 (so it restores an arbitrary non-last.ckpt checkpoint present in the checkpoints directory).
Currently I sometimes manually copy the top_k checkpoint to overwrite last.ckpt after training is done so it gets loaded during test/predict...
For some projects, we have save_top_k to save the best checkpoints, but when we resume during test/predict we only use
last.cpkt
.We should have some kind of option to load the best checkpoint during test/predict? It is okay if it only works with save_top_k=1 (so it restores an arbitrary non-last.ckpt checkpoint present in the checkpoints directory).
Currently I sometimes manually copy the top_k checkpoint to overwrite
last.ckpt
after training is done so it gets loaded during test/predict...