babysor / MockingBird

🚀AI拟声: 5秒内克隆您的声音并生成任意语音内容 Clone a voice in 5 seconds to generate arbitrary speech in real-time
Other
34.57k stars 5.15k forks source link

RuntimeError: Error(s) in loading state_dict for Tacotron: #903

Open hanzawaa opened 1 year ago

hanzawaa commented 1 year ago

size mismatch for encoder_proj.weight: copying a param with shape torch.Size([128, 512]) from checkpoint, the shape in current model is torch.Size([128, 1024]). size mismatch for decoder.attn_rnn.weight_ih: copying a param with shape torch.Size([384, 768]) from checkpoint, the shape in current model is torch.Size([384, 1280]). size mismatch for decoder.rnn_input.weight: copying a param with shape torch.Size([1024, 640]) from checkpoint, the shape in current model is torch.Size([1024, 1152]). size mismatch for decoder.stop_proj.weight: copying a param with shape torch.Size([1, 1536]) from checkpoint, the shape in current model is torch.Size([1, 2048]). image

hanzawaa commented 1 year ago

使用#37的方法,但是还是会出现这种错误

ooodlx commented 1 year ago

我也同样的问题.....解决了吗?

mqmelon commented 1 year ago

我也遇到了,百度结果有人提到是训练层数不同,但不知如何修改

Leige458 commented 1 year ago

我也遇到了,百度上提到的训练层数不同,但不知道如何修改 Guys, have you solved it?

oracle9i88 commented 1 year ago

同样问题