Update process_ckpt.py
This commit is contained in:
parent
541837eb0f
commit
27c7e3f6a3
@ -41,7 +41,7 @@ def extract_small_model(path,name,sr,if_f0,info):
|
||||
if(info==""):info="Extracted model."
|
||||
opt["info"] = info
|
||||
opt["sr"] = sr
|
||||
opt["f0"] =if_f0
|
||||
opt["f0"] =int(if_f0)
|
||||
torch.save(opt, "weights/%s.pth"%name)
|
||||
return "Success."
|
||||
except:
|
||||
|
Loading…
x
Reference in New Issue
Block a user