mirror of
https://github.com/wassname/TTS.git
synced 2026-09-10 11:50:20 +08:00
Fix style
This commit is contained in:
+1
-1
@@ -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"])
|
||||
|
||||
Reference in New Issue
Block a user