mirror of
https://github.com/RVC-Project/Retrieval-based-Voice-Conversion-WebUI.git
synced 2026-01-20 11:00:23 +00: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