diff --git a/mu_map/training/lib.py b/mu_map/training/lib.py index eb23b5741b0d6cdf910c33c4bdaf89130e785bea..e820c07f6e0fcf9329c21e249a3e9a31336ac728 100644 --- a/mu_map/training/lib.py +++ b/mu_map/training/lib.py @@ -78,7 +78,7 @@ class AbstractTraining: self.store_snapshot("val_min") if epoch % self.snapshot_epoch == 0: - self.store_snapshot(f"{epoch:0d{len(str(self.epochs))}}") + self.store_snapshot(f"{epoch:0{len(str(self.epochs))}d}") for param in self.training_params: if param.lr_scheduler is not None: