mirror of
https://github.com/RVC-Project/Retrieval-based-Voice-Conversion-WebUI.git
synced 2025-04-26 22:48:59 +08:00
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."
|
if(info==""):info="Extracted model."
|
||||||
opt["info"] = info
|
opt["info"] = info
|
||||||
opt["sr"] = sr
|
opt["sr"] = sr
|
||||||
opt["f0"] =if_f0
|
opt["f0"] =int(if_f0)
|
||||||
torch.save(opt, "weights/%s.pth"%name)
|
torch.save(opt, "weights/%s.pth"%name)
|
||||||
return "Success."
|
return "Success."
|
||||||
except:
|
except:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user