You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I can't load vits checkpoints it appear this message
Traceback (most recent call last):
File "D:\Vits\vits\choose_VITS_model.py", line 176, in buttonBox_accept
real_basic_UI.VITS_Class = use_main.multy_speaker_model(path_of_pth=real_basic_UI.path_of_pth,path_of_json=real_basic_UI.path_of_json)
File "D:\Vits\vits\use_main.py", line 74, in init
self._ = utils.load_checkpoint(path_of_pth, self.net_g, None)
File "D:\Vits\vits\utils.py", line 40, in load_checkpoint
model.load_state_dict(new_state_dict)
File "C:\Users\Chiak\AppData\Local\Programs\Python\Python38\lib\site-packages\torch\nn\modules\module.py", line 1671, in load_state_dict
raise RuntimeError('Error(s) in loading state_dict for {}:\n\t{}'.format(
RuntimeError: Error(s) in loading state_dict for SynthesizerTrn:
size mismatch for enc_p.emb.weight: copying a param with shape torch.Size([40, 192]) from checkpoint, the shape in current model is torch.Size([43, 192]).
How I can fix it thank!
The text was updated successfully, but these errors were encountered:
I can't load vits checkpoints it appear this message
Traceback (most recent call last):
File "D:\Vits\vits\choose_VITS_model.py", line 176, in buttonBox_accept
real_basic_UI.VITS_Class = use_main.multy_speaker_model(path_of_pth=real_basic_UI.path_of_pth,path_of_json=real_basic_UI.path_of_json)
File "D:\Vits\vits\use_main.py", line 74, in init
self._ = utils.load_checkpoint(path_of_pth, self.net_g, None)
File "D:\Vits\vits\utils.py", line 40, in load_checkpoint
model.load_state_dict(new_state_dict)
File "C:\Users\Chiak\AppData\Local\Programs\Python\Python38\lib\site-packages\torch\nn\modules\module.py", line 1671, in load_state_dict
raise RuntimeError('Error(s) in loading state_dict for {}:\n\t{}'.format(
RuntimeError: Error(s) in loading state_dict for SynthesizerTrn:
size mismatch for enc_p.emb.weight: copying a param with shape torch.Size([40, 192]) from checkpoint, the shape in current model is torch.Size([43, 192]).
How I can fix it thank!
The text was updated successfully, but these errors were encountered: