diff --git a/pytorch_lightning/callbacks/pt_callbacks.py b/pytorch_lightning/callbacks/pt_callbacks.py index c55a488496..1951719877 100644 --- a/pytorch_lightning/callbacks/pt_callbacks.py +++ b/pytorch_lightning/callbacks/pt_callbacks.py @@ -312,16 +312,16 @@ class ModelCheckpoint(Callback): self.best = max(self.best_k_models.values()) if self.verbose > 0: logging.info( - f'\nEpoch {epoch:05d}: {self.monitor} reached', - f'{current:0.5f} (best {self.best:0.5f}), saving model to', - f'{filepath} as top {self.save_top_k}') + f'\nEpoch {epoch:05d}: {self.monitor} reached' + f' {current:0.5f} (best {self.best:0.5f}), saving model to' + f' {filepath} as top {self.save_top_k}') self._save_model(filepath) else: if self.verbose > 0: logging.info( - f'\nEpoch {epoch:05d}: {self.monitor}', - f'was not in top {self.save_top_k}') + f'\nEpoch {epoch:05d}: {self.monitor}' + f' was not in top {self.save_top_k}') else: if self.verbose > 0: