w-okada / voice-changer

リアルタイムボイスチェンジャー Realtime Voice Changer
Other
15.92k stars 1.72k forks source link

[ISSUE]: Model uploading stops at 48% #948

Closed RapierXbox closed 11 months ago

RapierXbox commented 11 months ago

Voice Changer Version

MMVCServerSIO_win_onnxgpu-cuda_v.1.5.3.15.zip

Operational System

Windows 11

GPU

RTX 2060 Ti

Read carefully and check the options

Model Type

RVC

Issue Description

When uploading self trained model (i tried g and d model add and train index) the uploading stops at 48.0%.

Application Screenshot

No response

Logs on console

[Voice Changer] download sample catalog. samples_0003_t2.json [Voice Changer] download sample catalog. samples_0003_o2.json [Voice Changer] download sample catalog. samples_0003_d2.json [Voice Changer] model_dir is already exists. skip download samples. Internal_Port:18888 protocol: HTTP


Please open the following URL in your browser.
http://<IP>:<PORT>/
In many cases, it will launch when you access any of the following URLs.
http://127.0.0.1:18888/

[VCClient] Access http://127.0.0.1:18888/ [VCClient] wait web server...0 http://127.0.0.1:18888/ [VCClient] wait web server... done 200 [2023-10-13 23:52:13] connet sid : GAuLYrgxfgRIyKVqAAAC [2023-10-13 23:52:13] connet sid : ZvqrwLhBIeq3XetIAAAD paramDict {'voiceChangerType': 'RVC', 'slot': 6, 'isSampleMode': False, 'sampleId': None, 'files': [{'name': 'D_2333333.pth', 'kind': 'rvcModel', 'dir': ''}, {'name': 'added_IVF559_Flat_nprobe_1_DJ Smokey_v2.index', 'kind': 'rvcIndex', 'dir': ''}], 'params': {}} RVC:: slotInfo.modelFile D_2333333.pth [Voice Changer] post_load_model ex: 'config' Traceback (most recent call last): File "restapi\MMVC_Rest_Fileuploader.py", line 92, in post_load_model File "voice_changer\VoiceChangerManager.py", line 170, in loadModel File "voice_changer\RVC\RVCModelSlotGenerator.py", line 37, in loadModel File "voice_changer\RVC\RVCModelSlotGenerator.py", line 43, in _setInfoByPytorch KeyError: 'config' paramDict {'voiceChangerType': 'RVC', 'slot': 6, 'isSampleMode': False, 'sampleId': None, 'files': [{'name': 'D_2333333.pth', 'kind': 'rvcModel', 'dir': ''}, {'name': 'added_IVF559_Flat_nprobe_1_DJ Smokey_v2.index', 'kind': 'rvcIndex', 'dir': ''}], 'params': {}} RVC:: slotInfo.modelFile D_2333333.pth [Voice Changer] post_load_model ex: 'config' Traceback (most recent call last): File "restapi\MMVC_Rest_Fileuploader.py", line 92, in post_load_model File "voice_changer\VoiceChangerManager.py", line 170, in loadModel File "voice_changer\RVC\RVCModelSlotGenerator.py", line 37, in loadModel File "voice_changer\RVC\RVCModelSlotGenerator.py", line 43, in _setInfoByPytorch KeyError: 'config' paramDict {'voiceChangerType': 'RVC', 'slot': 6, 'isSampleMode': False, 'sampleId': None, 'files': [{'name': 'G_2333333.pth', 'kind': 'rvcModel', 'dir': ''}, {'name': 'added_IVF559_Flat_nprobe_1_DJ Smokey_v2.index', 'kind': 'rvcIndex', 'dir': ''}], 'params': {}} RVC:: slotInfo.modelFile G_2333333.pth [Voice Changer] post_load_model ex: 'config' Traceback (most recent call last): File "restapi\MMVC_Rest_Fileuploader.py", line 92, in post_load_model File "voice_changer\VoiceChangerManager.py", line 170, in loadModel File "voice_changer\RVC\RVCModelSlotGenerator.py", line 37, in loadModel File "voice_changer\RVC\RVCModelSlotGenerator.py", line 43, in _setInfoByPytorch KeyError: 'config' paramDict {'voiceChangerType': 'RVC', 'slot': 6, 'isSampleMode': False, 'sampleId': None, 'files': [{'name': 'D_2333333.pth', 'kind': 'rvcModel', 'dir': ''}, {'name': 'trained_IVF559_Flat_nprobe_1_DJ Smokey_v2.index', 'kind': 'rvcIndex', 'dir': ''}], 'params': {}} RVC:: slotInfo.modelFile D_2333333.pth [Voice Changer] post_load_model ex: 'config' Traceback (most recent call last): File "restapi\MMVC_Rest_Fileuploader.py", line 92, in post_load_model File "voice_changer\VoiceChangerManager.py", line 170, in loadModel File "voice_changer\RVC\RVCModelSlotGenerator.py", line 37, in loadModel File "voice_changer\RVC\RVCModelSlotGenerator.py", line 43, in _setInfoByPytorch KeyError: 'config'