MockingBird icon indicating copy to clipboard operation
MockingBird copied to clipboard

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

Open hanzawaa opened this issue 1 year ago • 5 comments

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 avatar May 25 '23 08:05 hanzawaa

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

hanzawaa avatar May 25 '23 08:05 hanzawaa

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

ooodlx avatar Jun 14 '23 03:06 ooodlx

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

mqmelon avatar Jun 14 '23 08:06 mqmelon

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

leij0318 avatar Jun 22 '23 10:06 leij0318

同样问题

oracle9i88 avatar Jun 24 '23 12:06 oracle9i88