-
Notifications
You must be signed in to change notification settings - Fork 5.2k
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
用这里的模型跑出现这个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]). #37
Comments
谁能解决 |
这个是我最近一个修复导致的不兼容问题, 你可以把文件中: |
放心 |
同样的问题! |
谢谢,这是有效的。修改过之后,原来的纯杂音变成正常声音了 |
谢谢,问题解决了 |
谢谢,已经解决 |
同样问题 |
感谢!问题已顺利解决。 |
一样! |
修改后完全正常,thanks~ |
+1 |
修改后正常了,感谢 |
问题确实解决了,但是声音质量没有哔哩哔哩的效果好,我特意找到的小说的录音,不知道是哪里有问题。 |
同样的问题。 |
如果使用自己训练的模型 要把这个改回去才有效吗 还是不用改也行 我试了下新训练的没声音(也有可能是自己训练的问题)但是用给的模型是正常 |
改回去效果会好一点 但是不改也可以工作的 |
总算可以了,这个问题搞了好久,还以为本地安装的环境问题 |
+1 |
出来的声音像机器人的声音,是因为不同的电脑环境出来的效果不一样么?那是否得自己重新训练模型? |
不是的,可能是vocoder或者输入音频不同导致的 |
改了 没用啊 |
同样的报错 你那个好了吗? |
同样的报错 你那个好了吗? |
同问 切换到v0.0.1依然不行 (已加修复) pytorch是最新版 cuda11.7 |
按说明修改后还是没用,一样报错。一定要自己训练吗? |
快两年了,这个还会兼容吗 。。 |
RuntimeError: Error(s) in loading state_dict for Tacotron: size mismatch for gst.stl.attention.W_query.weight: copying a param with shape torch.Size([512, 256]) from checkpoint, the shape in current model is torch.Size([512, 512]). |
Traceback (most recent call last): 按照上面的解决方法改了还是报错,有新的解决方案没 |
Traceback (most recent call last): 你好,除了一个75k steps 的合成器正常运行了,25k 150k 200k 的均出现类似的错误,这个是加载mandarin_200k.pt的合成器时候的报错,到现在还有解决方案吗?谢谢 |
上面提供改的所有方案都试过了全部没用,不知道真正导致数据不同步的错误在运行环境哪里 |
RuntimeError: Error(s) in loading state_dict for Tacotron: size mismatch for encoder.embedding.weight: copying a param with shape torch.Size([75, 512]) from checkpoint, the shape in current model is torch.Size([70, 512]). size mismatch for gst.stl.attention.W_query.weight: copying a param with shape torch.Size([512, 256]) from checkpoint, the shape in current model is torch.Size([512, 512]). 按照这个修改了MockingBird-main\models\synthesizer\utils目录下面的symbols.py文件里面的第11行代码,但是依旧还是报错,不知道什么原因? |
在我实际使用中发现,如果出现尺寸不匹配的问题,有说是输入框文字切割的问题,原始仓库Real-Time-Voice-Cloning也会出现这个问题。 |
同 不知道解决了吗 |
修改后还是报错: |
Traceback (most recent call last): |
同修改后还是报错 |
1 similar comment
同修改后还是报错 |
RuntimeError: Error(s) in loading state_dict for Tacotron: 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]). |
: Error(s) in loading state_dict for Tacotron: size mismatch for encoder.embedding.weight: copying a param with shape torch.Size([75, 512]) from checkpoint, the shape in current model is torch.Size([70, 512]). size mismatch for gst.stl.attention.W_query.weight: copying a param with shape torch.Size([512, 256]) from checkpoint, the shape in current model is torch.Size([512, 512]). 改了依旧报错,有小伙伴解决的吗? |
有最新的解决办法吗,改完还是不行,只有0.0.1的可以 |
同样问题。修改后还是不行,有没有解决办法? |
No description provided.
The text was updated successfully, but these errors were encountered: