错误详情:
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!
错误详情: 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!