Skip to content

Commit 6391a41

Browse files
committed
self._dirpath
1 parent 5197942 commit 6391a41

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
@@ -273,7 +273,7 @@ def state_key(self) -> str:
273273
def setup(self, trainer: "pl.Trainer", pl_module: "pl.LightningModule", stage: str) -> None:
274274
self.__init_state()
275275
self.__set_monitor_mode(self._mode)
276-
self.__set_ckpt_dir(self._dirpath, self.filename)
276+
self.__set_ckpt_dir(self.dirpath, self.filename)
277277

278278
dirpath = self.__resolve_ckpt_dir(trainer)
279279
dirpath = trainer.strategy.broadcast(dirpath)

0 commit comments

Comments
 (0)