Skip to content

Commit 27c7e3f

Browse files
authored
Update process_ckpt.py
1 parent 541837e commit 27c7e3f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

train/process_ckpt.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ def extract_small_model(path,name,sr,if_f0,info):
4141
if(info==""):info="Extracted model."
4242
opt["info"] = info
4343
opt["sr"] = sr
44-
opt["f0"] =if_f0
44+
opt["f0"] =int(if_f0)
4545
torch.save(opt, "weights/%s.pth"%name)
4646
return "Success."
4747
except:

0 commit comments

Comments
 (0)