You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
How to save the checkpoint only for the last epoch?
In the docs:
if save_top_k == k, the best k models according to the quantity monitored will be saved. if save_top_k == 0, no models are saved. if save_top_k == -1, all models are saved. Please note that the monitors are checked every period epochs. if save_top_k >= 2 and the callback is called multiple times inside an epoch, the name of the saved file will be appended with a version count starting with v0.
k = 0 does not save any.
k > 1 saves only a few the best
k = -1 saves all of them
Currently, I am using k = -1, but it space consuming.
The text was updated successfully, but these errors were encountered:
How to save the checkpoint only for the last epoch?
In the docs:
k = 0
does not save any.k > 1
saves only a few the bestk = -1
saves all of themCurrently, I am using k = -1, but it space consuming.
The text was updated successfully, but these errors were encountered: