From 7e012e7678ee8a74c68faada2a2885c2365bb8ba Mon Sep 17 00:00:00 2001 From: RVC-Boss <129054828+RVC-Boss@users.noreply.github.com> Date: Wed, 13 Mar 2024 17:03:59 +0800 Subject: [PATCH] https://github.com/RVC-Boss/GPT-SoVITS/issues/747 https://github.com/RVC-Boss/GPT-SoVITS/issues/747 --- GPT_SoVITS/module/models.py | 1 + 1 file changed, 1 insertion(+) diff --git a/GPT_SoVITS/module/models.py b/GPT_SoVITS/module/models.py index a4d2235..0a49513 100644 --- a/GPT_SoVITS/module/models.py +++ b/GPT_SoVITS/module/models.py @@ -893,6 +893,7 @@ class SynthesizerTrn(nn.Module): if freeze_quantizer: self.ssl_proj.requires_grad_(False) self.quantizer.requires_grad_(False) + self.quentizer.eval() # self.enc_p.text_embedding.requires_grad_(False) # self.enc_p.encoder_text.requires_grad_(False) # self.enc_p.mrte.requires_grad_(False)