Plachtaa / VITS-fast-fine-tuning

This repo is a pipeline of VITS finetuning for fast speaker adaptation TTS, and many-to-many voice conversion
Apache License 2.0
4.66k stars 696 forks source link

为何web ui 启动失败了 #252

Open jianzhishendi opened 1 year ago

jianzhishendi commented 1 year ago

错误详情: Building prefix dict from the default dictionary ... DEBUG:jieba:Building prefix dict from the default dictionary ... Loading model from cache C:\Users\ADMINI~1\AppData\Local\Temp\jieba.cache DEBUG:jieba:Loading model from cache C:\Users\ADMINI~1\AppData\Local\Temp\jieba.cache Loading model cost 1.733 seconds. DEBUG:jieba:Loading model cost 1.733 seconds. Prefix dict has been built successfully. DEBUG:jieba:Prefix dict has been built successfully. Building prefix dict from H:\programs\VITSinference\inference\jieba\dict.txt ... DEBUG:jieba:Building prefix dict from H:\programs\VITSinference\inference\jieba\dict.txt ... Loading model from cache C:\Users\ADMINI~1\AppData\Local\Temp\jieba.uc9711501e1872eb81baf472e192ba3fe.cache DEBUG:jieba:Loading model from cache C:\Users\ADMINI~1\AppData\Local\Temp\jieba.uc9711501e1872eb81baf472e192ba3fe.cache Loading model cost 1.630 seconds. DEBUG:jieba:Loading model cost 1.630 seconds. Prefix dict has been built successfully. DEBUG:jieba:Prefix dict has been built successfully. Traceback (most recent call last): File "inference.py", line 97, in File "utils.py", line 45, in load_checkpoint File "torch\nn\modules\module.py", line 1672, in load_state_dict self.class.name, "\n\t".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([52, 192]) from checkpoint, the shape in current model is torch.Size([50, 192]). [11708] Failed to execute script 'inference' due to unhandled exception!

jianzhishendi commented 1 year ago

有人知道是什么原因吗

jianzhishendi commented 1 year ago

MoeGoe也差不多,也是无法启动

UniverseMoon commented 10 months ago

https://blog.csdn.net/LZL2020LZL/article/details/123502321 不知道行不行 参考一下