#...shape in current model is torch.Size([192, 256]).
3 messages · Page 1 of 1 (latest)
loading ./models\Yui\Yui.pth
gin_channels: 256 self.spk_embed_dim: 109
Exception in Tkinter callback
Traceback (most recent call last):
File "C:\Users\danie\Downloads\RVC-GUI-pkg-20230508\RVC-GUI-pkg\runtime\lib\site-packages\tkinter_init_.py", line 1892, in call
return self.func(*args)
File "C:\Users\danie\Downloads\RVC-GUI-pkg-20230508\RVC-GUI-pkg\runtime\lib\site-packages\customtkinter\windows\widgets\core_widget_classes\dropdown_menu.py", line 101, in <lambda>
command=lambda v=value: self._button_callback(v),
File "C:\Users\danie\Downloads\RVC-GUI-pkg-20230508\RVC-GUI-pkg\runtime\lib\site-packages\customtkinter\windows\widgets\core_widget_classes\dropdown_menu.py", line 106, in _button_callback
self._command(value)
File "C:\Users\danie\Downloads\RVC-GUI-pkg-20230508\RVC-GUI-pkg\runtime\lib\site-packages\customtkinter\windows\widgets\ctk_optionmenu.py", line 381, in _dropdown_callback
self._command(self._current_value)
File "C:\Users\danie\Downloads\RVC-GUI-pkg-20230508\RVC-GUI-pkg\rvcgui.py", line 443, in selected_model
get_vc(pth_file_path, 0)
File "C:\Users\danie\Downloads\RVC-GUI-pkg-20230508\RVC-GUI-pkg\rvcgui.py", line 241, in get_vc
print(net_g.load_state_dict(cpt["weight"], strict=False)) # 不加这一行清不干净, 真奇葩
File "C:\Users\danie\Downloads\RVC-GUI-pkg-20230508\RVC-GUI-pkg\runtime\lib\site-packages\torch\nn\modules\module.py", line 2041, in load_state_dict
raise RuntimeError('Error(s) in loading state_dict for {}:\n\t{}'.format(
RuntimeError: Error(s) in loading state_dict for SynthesizerTrnMs256NSFsid:
size mismatch for enc_p.emb_phone.weight: copying a param with shape torch.Size([192, 768]) from checkpoint, the shape in current model is torch.Size([192, 256]).
You may download a v2 model and use it in an old verison WebUI that doesn't support v2 model.