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
Make filepath argument of ModelCheckpointer optional.
Motivation
I'm pretty happy with all defaults of ModelCheckpointer except save_top_k. In case I want to override that parameter I have to write some awkward code related to figuring out the checkpointing path, which is normally only known at runtime:
It would be nice to have an option to allow Lightning to determine runtime-valued save location instead. Additionally, it would be nice to have an option to override checkpoint filename without overriding the whole save path.
The text was updated successfully, but these errors were encountered:
The fix to this issue introduced a bug.. if you don’t pass in filepath and use the default None, this check will fail b/c you can’t run os.path.isdir() on None
Feature
Make
filepath
argument ofModelCheckpointer
optional.Motivation
I'm pretty happy with all defaults of
ModelCheckpointer
exceptsave_top_k
. In case I want to override that parameter I have to write some awkward code related to figuring out the checkpointing path, which is normally only known at runtime:It would be nice to have an option to allow Lightning to determine runtime-valued save location instead. Additionally, it would be nice to have an option to override checkpoint filename without overriding the whole save path.
The text was updated successfully, but these errors were encountered: