MockingBird Torch.size mismatch in encoder and decoder. using pretrained model.

3xiyfsfu  于 2022-11-05  发布在  其他
关注(0)|答案(8)|浏览(560)

利用的是@miven的预训练模型

报错信息如下:
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])

还有就是,我是小白,想问下tag 0.0.1去哪找啊...不是太懂这个tag 0.0.1是什么意思。

t30tvxxf

t30tvxxf1#

I guess you're new.This may have been put forward before. You can refer to #37

uoifb46i

uoifb46i5#

really? you can try this: https://github.com/babysor/MockingBird/tags

It seems it will work if uncomment "characters =...1240..." as the replacement in the synthesizer/utils/symbols.py for the model from @FawenYo

ttvkxqim

ttvkxqim6#

and more over the accent is decoded to Taiwan Mandarin

jslywgbw

jslywgbw7#

same for @miven model , this model spec is blur, quality is not good

bxpogfeg

bxpogfeg8#

sorrry,Your description is not clear. Did you encounter any mistakes?

相关问题