mirror of
https://github.com/wassname/pytorch-lightning.git
synced 2026-09-09 11:32:07 +08:00
Pad experiment version with zero for easier listing (#355)
This commit is contained in:
committed by
William Falcon
parent
426bb19846
commit
792ba59b78
@@ -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