Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RVC V2 Models Are not compatible with MMVCServerSIO #233

Closed
benc1221 opened this issue May 17, 2023 · 4 comments
Closed

RVC V2 Models Are not compatible with MMVCServerSIO #233

benc1221 opened this issue May 17, 2023 · 4 comments

Comments

@benc1221
Copy link

[Voice Changer] exception! loading inferencer 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]).
Traceback (most recent call last):
File "voice_changer\RVC\pipeline\PipelineGenerator.py", line 24, in createPipeline
File "voice_changer\RVC\inferencer\InferencerManager.py", line 20, in getInferencer
File "voice_changer\RVC\inferencer\InferencerManager.py", line 31, in loadInferencer
File "voice_changer\RVC\inferencer\RVCInferencer.py", line 19, in loadModel
File "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 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]).
[Voice Changer] generate new embedder. (no embedder)
[Voice Changer] Loading index...
Traceback (most recent call last):
File "voice_changer\VoiceChanger.py", line 301, in loadModel
File "voice_changer\RVC\RVC.py", line 84, in loadModel
File "voice_changer\RVC\RVC.py", line 153, in prepareModel
File "voice_changer\RVC\pipeline\PipelineGenerator.py", line 54, in createPipeline
UnboundLocalError: local variable 'inferencer' referenced before assignment

[Voice Changer] Model Load Error! Check your model is valid. local variable 'inferencer' referenced before assignment

i just need to know if v2 models work with the current version of the application

@benc1221 benc1221 changed the title RVX V2 Models Are not compatible with MMVCServerSIO RVC V2 Models Are not compatible with MMVCServerSIO May 17, 2023
@w-okada
Copy link
Owner

w-okada commented May 17, 2023

No, not supported yet. I have plan to support by end of May. Please wait.

@w-okada
Copy link
Owner

w-okada commented May 21, 2023

I released new version which supports rvc v2. try it.
And close.

@w-okada w-okada closed this as completed May 21, 2023
@Furcornlover
Copy link

Una mierda

@ElhamAhmedian
Copy link

does not work for me.

Traceback (most recent call last):
  File "voice_changer\RVC\pipeline\PipelineGenerator.py", line 22, in createPipeline
  File "voice_changer\RVC\inferencer\InferencerManager.py", line 25, in getInferencer
  File "voice_changer\RVC\inferencer\InferencerManager.py", line 37, in loadInferencer
  File "voice_changer\RVC\inferencer\RVCInferencer.py", line 20, in loadModel
  File "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]).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants