mirror of
https://github.com/wassname/pytorch-lightning.git
synced 2026-10-28 13:20:31 +08:00
Pad experiment version with zero for easier listing (#355)
This commit is contained in:
1 parent
426bb19846
commit
792ba59b78
1 file changed
+1
-1
@@ -260,7 +260,7 @@ class Trainer(TrainerIO):
|
||||
if self.checkpoint_callback is None:
|
||||
# init a default one
|
||||
if isinstance(self.logger, TestTubeLogger):
|
||||
ckpt_path = '{}/{}/version_{}/{}'.format(
|
||||
ckpt_path = '{}/{}/version_{:04d}/{}'.format(
|
||||
self.default_save_path,
|
||||
self.logger.experiment.name,
|
||||
self.logger.experiment.version,
|
||||
|
||||
Reference in new issue
Block a user