From a97dc8d09f1506f0add32aefd9676bef4548f458 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Eren=20G=C3=B6lge?= Date: Mon, 13 Sep 2021 08:32:02 +0000 Subject: [PATCH] Fix trainer malformatted print --- TTS/trainer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/TTS/trainer.py b/TTS/trainer.py index d90c5473..8589ae5c 100644 --- a/TTS/trainer.py +++ b/TTS/trainer.py @@ -880,7 +880,7 @@ class Trainer: """Restore the best loss from the args.best_path if provided else from the model (`args.restore_path` or `args.continue_path`) used for resuming the training""" if self.restore_step != 0 or self.args.best_path: - print(" > Restoring best loss from " f"{os.path.basename(self.args.best_path)} ...") + print(f" > Restoring best loss from {os.path.basename(self.args.best_path)} ...") ch = load_fsspec(self.args.restore_path, map_location="cpu") if "model_loss" in ch: self.best_loss = ch["model_loss"]