ModelCheckpoint period should not always save on the first epoch #3619
Labels
bug
Something isn't working
feature
Is an improvement or enhancement
help wanted
Open to be worked on
Milestone
🚀 Feature
period
should work so:e.g:
period == 1
: save on epoch 0, 1, 2...period == 2
: save on epoch 1, 3, 5...period == 3
: save on epoch 2, 5, 8...currently, it always runs on the first epoch and then runs every
period
epochse.g:
period == 1
: save on epoch 0, 1, 2...period == 2
: save on epoch 0, 2, 4...period == 3
: save on epoch 0, 3, 6...This would also allow having
period = 0
which would never save, just assave_top_k = 0
Motivation
I want to save a checkpoint every
period
epochs but current behaviour forces to always save on the first one.The text was updated successfully, but these errors were encountered: