myshell-ai / OpenVoice

Instant voice cloning by MIT and MyShell.
https://research.myshell.ai/open-voice
MIT License
28.82k stars 2.82k forks source link

a question about v2 #237

Open ffhelly opened 4 months ago

ffhelly commented 4 months ago

I have a question. When running V2, regardless of which language (EN, ZH, JP) I use, the following errors will eventually occur.

RuntimeError: Error (s) in loading state_dict for SynthesizerTrn: Size mismatch for encp. langage_emb. weight: copying a param with shape torch Size ([10, 192]) from checkpoint, the shape in current model is torch Size ([8, 192]) Size mismatch for emb_g. weight: copying a param with shape torch Size ([256, 256]) from checkpoint, the shape in current model is torch Size ([1, 256])