Skip to content

Commit 904bd74

Browse files
committed
change doc string to reflect new default value for save on exception model checkpoint
1 parent c092385 commit 904bd74

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lightning/pytorch/callbacks/model_checkpoint.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ class ModelCheckpoint(Checkpoint):
9797
collisions unless ``enable_version_counter`` is set to False. The version counter is unrelated to the top-k
9898
ranking of the checkpoint, and we recommend formatting the filename to include the monitored metric to avoid
9999
collisions.
100-
save_on_exception: Whether to save a checkpoint when an exception is raised. Default: ``True``.
100+
save_on_exception: Whether to save a checkpoint when an exception is raised. Default: ``False``.
101101
mode: one of {min, max}.
102102
If ``save_top_k != 0``, the decision to overwrite the current save file is made
103103
based on either the maximization or the minimization of the monitored quantity.

0 commit comments

Comments
 (0)