CorentinJ / Real-Time-Voice-Cloning

Clone a voice in 5 seconds to generate arbitrary speech in real-time
Other
52.59k stars 8.79k forks source link

Exception: Error(s) in loading state_dict for Tocotron #1101

Closed raul-parada closed 2 years ago

raul-parada commented 2 years ago

Hi,

I'm using the Spanish version of RTVC and when I execute SV2TTS toolbox I get the following error:

Exception: Error(s) in loading state_dict for Tocotron:
size mismatch for encoder.embedding.weight: copying a param with shape torch.Size([66, 512]) from checkpoint, the shape in current model is torch.Size([82, 512]).

I add screenshot:

image

Did someone receive the same error?

raul-parada commented 2 years ago

Solved. The problem was configuring pretrained at Synthetizer option