Skip to content

Commit a97dc8d

Browse files
committed
Fix trainer malformatted print
1 parent 91bebeb commit a97dc8d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

TTS/trainer.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -880,7 +880,7 @@ def _restore_best_loss(self):
880880
"""Restore the best loss from the args.best_path if provided else
881881
from the model (`args.restore_path` or `args.continue_path`) used for resuming the training"""
882882
if self.restore_step != 0 or self.args.best_path:
883-
print(" > Restoring best loss from " f"{os.path.basename(self.args.best_path)} ...")
883+
print(f" > Restoring best loss from {os.path.basename(self.args.best_path)} ...")
884884
ch = load_fsspec(self.args.restore_path, map_location="cpu")
885885
if "model_loss" in ch:
886886
self.best_loss = ch["model_loss"]

0 commit comments

Comments
 (0)