Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

模型加载错误,维度错误 #899

Open
wangsheng0131 opened this issue May 17, 2023 · 6 comments
Open

模型加载错误,维度错误 #899

wangsheng0131 opened this issue May 17, 2023 · 6 comments

Comments

@wangsheng0131
Copy link

使用的最新的main分支代码,合成模型用的是https://github.com/babysor/MockingBird/wiki/Quick-Start-(Newbie) wiki中的模型,#37 中的方案,并解决不了问题。

报错如下:

RuntimeError: Error(s) in loading state_dict for Tacotron: size mismatch for encoder.embedding.weight: copying a param with shape torch.Size([70, 512]) from checkpoint, the shape in current model is torch.Size([75, 512]). 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]).

@wangsheng0131
Copy link
Author

image

@alihua123
Copy link

好了吗?我也遇到这个错误了

@mqmelon
Copy link

mqmelon commented Jun 14, 2023

有人解决了吗?我也同样

@jcxian
Copy link

jcxian commented Aug 24, 2023

同问,解决了吗?

@191611
Copy link

191611 commented Sep 12, 2023

同问

1 similar comment
@LvHuaiSheng
Copy link

同问

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants