mirror of
https://github.com/fumiama/Retrieval-based-Voice-Conversion-WebUI.git
synced 2026-06-09 04:29:50 +08:00
optimize real-time vc
This commit is contained in:
@@ -34,4 +34,5 @@ def get_synthesizer(pth_path, device=torch.device("cpu")):
|
||||
net_g.load_state_dict(cpt["weight"], strict=False)
|
||||
net_g = net_g.float()
|
||||
net_g.eval().to(device)
|
||||
net_g.remove_weight_norm()
|
||||
return net_g, cpt
|
||||
|
||||
Reference in New Issue
Block a user