We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 541837e commit 27c7e3fCopy full SHA for 27c7e3f
1 file changed
train/process_ckpt.py
@@ -41,7 +41,7 @@ def extract_small_model(path,name,sr,if_f0,info):
41
if(info==""):info="Extracted model."
42
opt["info"] = info
43
opt["sr"] = sr
44
- opt["f0"] =if_f0
+ opt["f0"] =int(if_f0)
45
torch.save(opt, "weights/%s.pth"%name)
46
return "Success."
47
except:
0 commit comments