CjangCjengh / MoeGoe

Executable file for VITS inference
MIT License
2.32k stars 251 forks source link

RuntimeError: Error(s) in loading state_dict for SynthesizerTrn #35

Closed QFDG closed 1 year ago

QFDG commented 1 year ago

跑了500个epoch,结果最后推理的时候出错,只有我一个人这样吗,真的心态炸裂 D:\Program Files\MoeGoe\MoeGoe>"D:\Program Files\MoeGoe\MoeGoe\MoeGoe.exe" --escape[15888] Failed to execute script 'MoeGoe' due to unhandled exception!Traceback (most recent call last): File "MoeGoe.py", line 105, in File "utils.py", line 58, in load_checkpoint File "torch\nn\modules\module.py", line 1605, in load_state_dict self.class.name, " ".join(error_msgs)))RuntimeError: Error(s) in loading state_dict for SynthesizerTrn: size mismatch for enc_p.emb.weight: copying a param with shape torch.Size([35, 192]) from checkpoint, the shape in current model is torch.Size([50, 192]).Path of a VITS model: Path of a config file:

QFDG commented 1 year ago

我是傻逼

zwluoqi commented 1 year ago

怎么说,同样问题...

GYLNMS commented 5 months ago

@QFDG 可以请问一下你是怎么解决的吗