From 738eee0cf9ba54a77d3888d411282a642d33d0c0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Eren=20G=C3=B6lge?= Date: Mon, 30 Aug 2021 13:12:13 +0000 Subject: [PATCH] Fix style --- TTS/trainer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/TTS/trainer.py b/TTS/trainer.py index 4ca95fba..68b45fe2 100644 --- a/TTS/trainer.py +++ b/TTS/trainer.py @@ -328,7 +328,7 @@ class Trainer: return obj print(" > Restoring from %s ..." % os.path.basename(restore_path)) - checkpoint = load_fsspec(restore_path, map_location='cpu') + checkpoint = load_fsspec(restore_path, map_location="cpu") try: print(" > Restoring Model...") model.load_state_dict(checkpoint["model"])