Skip to content

Commit

Permalink
Update model_checkpoint.py
Browse files Browse the repository at this point in the history
Modify the typing error!
  • Loading branch information
happyfox-dot authored Sep 4, 2024
1 parent f3f10d4 commit fa9df0b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lightning/pytorch/callbacks/model_checkpoint.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ class ModelCheckpoint(Checkpoint):
By default, dirpath is ``None`` and will be set at runtime to the location
specified by :class:`~lightning.pytorch.trainer.trainer.Trainer`'s
:paramref:`~lightning.pytorch.trainer.trainer.Trainer.default_root_dir` argument,
:param:`~lightning.pytorch.trainer.trainer.Trainer.default_root_dir` argument,
and if the Trainer uses a logger, the path will also contain logger name and version.
filename: checkpoint filename. Can contain named formatting options to be auto-filled.
Expand Down

0 comments on commit fa9df0b

Please sign in to comment.