From 52060e5f10e770e50a024b2d7a70f186dd71dfc5 Mon Sep 17 00:00:00 2001 From: Justin John <34035011+justinjohn0306@users.noreply.github.com> Date: Mon, 19 Jun 2023 20:17:21 -0700 Subject: [PATCH] Update fakeyou_infer-v2.py --- voice_conversion/rvc-v2-justin/fakeyou_infer-v2.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/voice_conversion/rvc-v2-justin/fakeyou_infer-v2.py b/voice_conversion/rvc-v2-justin/fakeyou_infer-v2.py index c99446d..81a4505 100644 --- a/voice_conversion/rvc-v2-justin/fakeyou_infer-v2.py +++ b/voice_conversion/rvc-v2-justin/fakeyou_infer-v2.py @@ -158,7 +158,7 @@ def get_vc(model_path): else: net_g = SynthesizerTrnMs768NSFsid_nono(*cpt["config"]) del net_g.enc_q - print(net_g.load_state_dict(cpt["weight"], strict=False))ss + print(net_g.load_state_dict(cpt["weight"], strict=False)) net_g.eval().to(device) if (is_half):net_g = net_g.half() else:net_g = net_g.float()