mirror of
https://github.com/RVC-Boss/GPT-SoVITS.git
synced 2025-04-05 19:41:56 +08:00
https://github.com/RVC-Boss/GPT-SoVITS/issues/747
This commit is contained in:
parent
931781774d
commit
7e012e7678
@ -893,6 +893,7 @@ class SynthesizerTrn(nn.Module):
|
|||||||
if freeze_quantizer:
|
if freeze_quantizer:
|
||||||
self.ssl_proj.requires_grad_(False)
|
self.ssl_proj.requires_grad_(False)
|
||||||
self.quantizer.requires_grad_(False)
|
self.quantizer.requires_grad_(False)
|
||||||
|
self.quentizer.eval()
|
||||||
# self.enc_p.text_embedding.requires_grad_(False)
|
# self.enc_p.text_embedding.requires_grad_(False)
|
||||||
# self.enc_p.encoder_text.requires_grad_(False)
|
# self.enc_p.encoder_text.requires_grad_(False)
|
||||||
# self.enc_p.mrte.requires_grad_(False)
|
# self.enc_p.mrte.requires_grad_(False)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user