We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 91bebeb commit a97dc8dCopy full SHA for a97dc8d
TTS/trainer.py
@@ -880,7 +880,7 @@ def _restore_best_loss(self):
880
"""Restore the best loss from the args.best_path if provided else
881
from the model (`args.restore_path` or `args.continue_path`) used for resuming the training"""
882
if self.restore_step != 0 or self.args.best_path:
883
- 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)} ...")
884
ch = load_fsspec(self.args.restore_path, map_location="cpu")
885
if "model_loss" in ch:
886
self.best_loss = ch["model_loss"]
0 commit comments