修复v3推理传参问题

This commit is contained in:
RVC-Boss
2025-04-22 00:16:07 +08:00
committed by GitHub
parent e0f2818df7
commit 7405427a0a

View File

@@ -304,6 +304,7 @@ def change_sovits_weights(sovits_path, prompt_language=None, text_language=None)
) )
model_version = version model_version = version
else: else:
hps.model.version=model_version
vq_model = SynthesizerTrnV3( vq_model = SynthesizerTrnV3(
hps.data.filter_length // 2 + 1, hps.data.filter_length // 2 + 1,
hps.train.segment_size // hps.data.hop_length, hps.train.segment_size // hps.data.hop_length,