mirror of https://github.com/coqui-ai/TTS.git
Fix style
This commit is contained in:
parent
5255e089e6
commit
738eee0cf9
|
@ -328,7 +328,7 @@ class Trainer:
|
||||||
return obj
|
return obj
|
||||||
|
|
||||||
print(" > Restoring from %s ..." % os.path.basename(restore_path))
|
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:
|
try:
|
||||||
print(" > Restoring Model...")
|
print(" > Restoring Model...")
|
||||||
model.load_state_dict(checkpoint["model"])
|
model.load_state_dict(checkpoint["model"])
|
||||||
|
|
Loading…
Reference in New Issue