w-okada / voice-changer

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

[ISSUE for v2]: V1 RVC model files not recognized when manually added without using GUI #1356

Closed maitakehub closed 1 month ago

maitakehub commented 1 month ago

Voice Changer Version

vcclient_win_cuda_2.0.61-alpha

Operational System

Windows11

GPU

RTX4090

CUDA Version

V12.2.91

Read carefully and check the options

Does pre-installed model work?

YES

Model Type

RVC

Issue Description

I would like to use the RVC's pth file and index file from VCClient V1 with VCClient V2 (vcclient_win_cuda_2.0.61-alpha). However, even when I place the files in the appropriate location in my local environment, they are not recognized.

When I upload the pth file and index file from V1 via the V2 GUI, they are properly reflected both in the GUI and in the local folder. A new folder for the uploaded files is created in the "model_dir" folder. For example, the "model_dir" folder initially contains RVC and Beatrice model data divided into folders named 0, 1, 2, 3, 4, and 10202. Folders 0 through 4 include RVC's pth and index files, and by uploading to the 5th slot in the GUI, a new folder named "5" is created in the "model_dir" folder and the files are successfully loaded.

The issue arises when I manually add a folder containing the pth and index files from V1 to the "model_dir" folder in V2 without using the GUI. These files are not recognized by the system.

Even when I copy and paste the folder from V1 into V2, the model does not appear in the GUI, and the slot remains blank as if the model does not exist. I have tried reloading the folder, refreshing the GUI, and restarting the application, but the issue persists.

Both V1 and V2 handle folders in the "model_dir" that are named with only numbers, and the folder contents are identical in format, containing a pth file, an index file, and a json (params) file. Additionally, I have ensured that there are no duplicate folder names with the same numbers.

Application Screenshot

No response

Logs on console

Autoload(Ctrl + r):ON 2024-09-22 18:10:55,628 - vcclient - main - INFO - Starting VCClient CUI version:2.0.61-alpha - vcclient_dev\main.py - 78 2024-09-22 18:10:57,017 - vcclient - module_manager - INFO - Initial module status: [ModuleStatus(info=ModuleInfo(id='hubert_base.pt', display_name='hubert_base.pt', url='https://huggingface.co/wok000/vcclient_modules/resolve/main/contentvec/hubert_base.pt', save_to=WindowsPath('modules/contentvec/hubert_base.pt'), hash='f54b40fd2802423a5643779c4861af1e9ee9c1564dc9d32f54f20b5ffba7db96'), downloaded=True, valid=True), ModuleStatus(info=ModuleInfo(id='contentvec-f.onnx', display_name='contentvec-f.onnx', url='https://huggingface.co/wok000/vcclient_modules/resolve/main/contentvec/contentvec-f.onnx', save_to=WindowsPath('modules/contentvec/contentvec-f.onnx'), hash='4b31ed3d95a568fab7952de923ff7f7d3d17128ea6fce69f665509d24c3156db'), downloaded=True, valid=True), ModuleStatus(info=ModuleInfo(id='rinna_hubert_base-f.onnx', display_name='rinna_hubert_base-f.onnx', url='https://huggingface.co/wok000/vcclient_modules/resolve/main/rinna_hubert/rinna_hubert_base-f.onnx', save_to=WindowsPath('modules/rinna_hubert/rinna_hubert_base-f.onnx'), hash='d00e262757fa1550faac53fa6140dad16ca75603a36ecfead468920a9f744a16'), downloaded=True, valid=True), ModuleStatus(info=ModuleInfo(id='onnxcrepe_tiny.onnx', display_name='onnxcrepe_tiny.onnx', url='https://huggingface.co/wok000/vcclient_modules/resolve/main/onnxcrepe/tiny.onnx', save_to=WindowsPath('modules/onnxcrepe/tiny.onnx'), hash='91fc2a0fd10f965dbf7775995daf50e99273caedd7efd00001f23be649da1bc3'), downloaded=True, valid=True), ModuleStatus(info=ModuleInfo(id='onnxcrepe_full.onnx', display_name='onnxcrepe_full.onnx', url='https://huggingface.co/wok000/vcclient_modules/resolve/main/onnxcrepe/full.onnx', save_to=WindowsPath('modules/onnxcrepe/full.onnx'), hash='119845c72c702e052e5262430f9d120bce46176689aa226c39d09dea5cc3a610'), downloaded=True, valid=True), ModuleStatus(info=ModuleInfo(id='rmvpe_20231006.pt', display_name='rmvpe_20231006.pt', url='https://huggingface.co/wok000/vcclient_modules/resolve/main/rmvpe/rmvpe_20231006.pt', save_to=WindowsPath('modules/rmvpe/rmvpe_20231006.pt'), hash='6d62215f4306e3ca278246188607209f09af3dc77ed4232efdd069798c4ec193'), downloaded=True, valid=True), ModuleStatus(info=ModuleInfo(id='rmvpe_20231006.onnx', display_name='rmvpe_20231006.onnx', url='https://huggingface.co/wok000/vcclient_modules/resolve/main/rmvpe/rmvpe_20231006.onnx', save_to=WindowsPath('modules/rmvpe/rmvpe_20231006.onnx'), hash='84f0586308e36157f75b77c8591bf636d6719c0c4ba95f8faf3df479e7566219'), downloaded=True, valid=True)] - vcclient_dev\voice_changer\module_manager\module_manager.py - 136 2024-09-22 18:10:57,017 - vcclient - slot_manager - DEBUG - Reloading Slot info - vcclient_dev\voice_changer\slot_manager\slot_manager.py - 92 2024-09-22 18:10:57,022 - vcclient - slot_manager - DEBUG - slot_index=0 voice_changer_type='RVC' name='黄琴海月(onnx)' description='' credit='' terms_of_use_url='https://huggingface.co/wok000/vcclient_model/raw/main/rvc_v2_alpha/kikoto_kurage/terms_of_use.txt' icon_file=WindowsPath('kikoto_kurage.png') speakers={} - vcclient_dev\voice_changer\slot_manager\slot_manager.py - 37 2024-09-22 18:10:57,026 - vcclient - slot_manager - DEBUG - slot_index=1 voice_changer_type='RVC' name='黄琴まひろ(onnx)' description='' credit='' terms_of_use_url='https://huggingface.co/wok000/vcclient_model/raw/main/rvc_v2_alpha/kikoto_mahiro/terms_of_use.txt' icon_file=WindowsPath('kikoto_mahiro.png') speakers={} - vcclient_dev\voice_changer\slot_manager\slot_manager.py - 37 2024-09-22 18:10:57,030 - vcclient - slot_manager - DEBUG - slot_index=2 voice_changer_type='RVC' name='刻鳴時雨(onnx)' description='' credit='' terms_of_use_url='https://huggingface.co/wok000/vcclient_model/raw/main/rvc_v2_alpha/tokina_shigure/terms_of_use.txt' icon_file=WindowsPath('tokina_shigure.png') speakers={} - vcclient_dev\voice_changer\slot_manager\slot_manager.py - 37 2024-09-22 18:10:57,033 - vcclient - slot_manager - DEBUG - slot_index=3 voice_changer_type='RVC' name='あみたろ(onnx)' description='' credit='' terms_of_use_url='https://huggingface.co/wok000/vcclient_model/raw/main/rvc_v2_alpha/amitaro/terms_of_use.txt' icon_file=WindowsPath('amitaro.png') speakers={} - vcclient_dev\voice_changer\slot_manager\slot_manager.py - 37 2024-09-22 18:10:57,037 - vcclient - slot_manager - DEBUG - slot_index=4 voice_changer_type='RVC' name='つくよみちゃん(onnx)' description='' credit='' terms_of_use_url='https://huggingface.co/wok000/vcclient_model/raw/main/rvc_v2_alpha/tsukuyomi-chan/terms_of_use.txt' icon_file=WindowsPath('tsukuyomi-chan.png') speakers={} - vcclient_dev\voice_changer\slot_manager\slot_manager.py - 37 2024-09-22 18:10:57,046 - vcclient - slot_manager - DEBUG - slot_index=10202 voice_changer_type='Beatrice_v2' name='JVS' description='' credit='' terms_of_use_url='https://huggingface.co/wok000/vcclient_model/blob/main/beatrice_v2_alpha/readme.md' icon_file=WindowsPath('BeatriceAPIJVSCorpus.png') speakers={} - vcclient_dev\voice_changer\slot_manager\slot_manager.py - 37 2024-09-22 18:10:57,047 - vcclient - gpu_device_manager - INFO - Reloading GPU info - vcclient_dev\voice_changer\gpu_device_manager\gpu_device_manager.py - 120 2024-09-22 18:10:57,501 - vcclient - gpu_device_manager - INFO - AdapterRAM : 536870912 - vcclient_dev\voice_changer\gpu_device_manager\gpu_device_manager.py - 23 2024-09-22 18:10:57,502 - vcclient - gpu_device_manager - INFO - AdapterRAM : 4293918720 - vcclient_dev\voice_changer\gpu_device_manager\gpu_device_manager.py - 23 2024-09-22 18:10:57,502 - vcclient - gpu_device_manager - INFO - GPU[sys]:[GPUInfo(name='cpu', device_id='-1', adapter_ram=0, device_id_int=-1, cuda_compute_version_major=-1, cuda_compute_version_minor=-1), GPUInfo(name='AMD Radeon(TM) Graphics', device_id='VideoController1', adapter_ram=536870912, device_id_int=0, cuda_compute_version_major=-1, cuda_compute_version_minor=-1), GPUInfo(name='NVIDIA GeForce RTX 4090', device_id='VideoController2', adapter_ram=4293918720, device_id_int=1, cuda_compute_version_major=-1, cuda_compute_version_minor=-1)] - vcclient_dev\voice_changer\gpu_device_manager\gpu_device_manager.py - 123 2024-09-22 18:10:57,627 - vcclient - gpu_device_manager - INFO - Sun Sep 22 18:10:57 2024 - vcclient_dev\voice_changer\gpu_device_manager\gpu_device_manager.py - 96 2024-09-22 18:10:57,627 - vcclient - gpu_device_manager - INFO - +---------------------------------------------------------------------------------------+ - vcclient_dev\voice_changer\gpu_device_manager\gpu_device_manager.py - 96 2024-09-22 18:10:57,627 - vcclient - gpu_device_manager - INFO - | NVIDIA-SMI 537.42 Driver Version: 537.42 CUDA Version: 12.2 | - vcclient_dev\voice_changer\gpu_device_manager\gpu_device_manager.py - 96 2024-09-22 18:10:57,627 - vcclient - gpu_device_manager - INFO - |-----------------------------------------+----------------------+----------------------+ - vcclient_dev\voice_changer\gpu_device_manager\gpu_device_manager.py - 96 2024-09-22 18:10:57,627 - vcclient - gpu_device_manager - INFO - | GPU Name TCC/WDDM | Bus-Id Disp.A | Volatile Uncorr. ECC | - vcclient_dev\voice_changer\gpu_device_manager\gpu_device_manager.py - 96 2024-09-22 18:10:57,627 - vcclient - gpu_device_manager - INFO - | Fan Temp Perf Pwr:Usage/Cap | Memory-Usage | GPU-Util Compute M. | - vcclient_dev\voice_changer\gpu_device_manager\gpu_device_manager.py - 96 2024-09-22 18:10:57,627 - vcclient - gpu_device_manager - INFO - | | | MIG M. | - vcclient_dev\voice_changer\gpu_device_manager\gpu_device_manager.py - 96 2024-09-22 18:10:57,627 - vcclient - gpu_device_manager - INFO - |=========================================+======================+======================| - vcclient_dev\voice_changer\gpu_device_manager\gpu_device_manager.py - 96 2024-09-22 18:10:57,627 - vcclient - gpu_device_manager - INFO - | 0 NVIDIA GeForce RTX 4090 WDDM | 00000000:01:00.0 Off | Off | - vcclient_dev\voice_changer\gpu_device_manager\gpu_device_manager.py - 96 2024-09-22 18:10:57,627 - vcclient - gpu_device_manager - INFO - | 0% 36C P8 28W / 480W | 0MiB / 24564MiB | 0% Default | - vcclient_dev\voice_changer\gpu_device_manager\gpu_device_manager.py - 96 2024-09-22 18:10:57,627 - vcclient - gpu_device_manager - INFO - | | | N/A | - vcclient_dev\voice_changer\gpu_device_manager\gpu_device_manager.py - 96 2024-09-22 18:10:57,627 - vcclient - gpu_device_manager - INFO - +-----------------------------------------+----------------------+----------------------+ - vcclient_dev\voice_changer\gpu_device_manager\gpu_device_manager.py - 96 2024-09-22 18:10:57,627 - vcclient - gpu_device_manager - INFO - - vcclient_dev\voice_changer\gpu_device_manager\gpu_device_manager.py - 96 2024-09-22 18:10:57,627 - vcclient - gpu_device_manager - INFO - +---------------------------------------------------------------------------------------+ - vcclient_dev\voice_changer\gpu_device_manager\gpu_device_manager.py - 96 2024-09-22 18:10:57,627 - vcclient - gpu_device_manager - INFO - | Processes: | - vcclient_dev\voice_changer\gpu_device_manager\gpu_device_manager.py - 96 2024-09-22 18:10:57,628 - vcclient - gpu_device_manager - INFO - | GPU GI CI PID Type Process name GPU Memory | - vcclient_dev\voice_changer\gpu_device_manager\gpu_device_manager.py - 96 2024-09-22 18:10:57,628 - vcclient - gpu_device_manager - INFO - | ID ID Usage | - vcclient_dev\voice_changer\gpu_device_manager\gpu_device_manager.py - 96 2024-09-22 18:10:57,628 - vcclient - gpu_device_manager - INFO - |=======================================================================================| - vcclient_dev\voice_changer\gpu_device_manager\gpu_device_manager.py - 96 2024-09-22 18:10:57,628 - vcclient - gpu_device_manager - INFO - | No running processes found | - vcclient_dev\voice_changer\gpu_device_manager\gpu_device_manager.py - 96 2024-09-22 18:10:57,628 - vcclient - gpu_device_manager - INFO - +---------------------------------------------------------------------------------------+ - vcclient_dev\voice_changer\gpu_device_manager\gpu_device_manager.py - 96 2024-09-22 18:10:57,628 - vcclient - gpu_device_manager - INFO - - vcclient_dev\voice_changer\gpu_device_manager\gpu_device_manager.py - 96 2024-09-22 18:10:58,153 - vcclient - gpu_device_manager - INFO - GPUcuda: available:True, num:1, mps_enabled: False - vcclient_dev\voice_changer\gpu_device_manager\gpu_device_manager.py - 132 2024-09-22 18:10:58,153 - vcclient - gpu_device_manager - INFO - GPUcuda: cuda_version(build):12.1, cudnn_version(build)8907 - vcclient_dev\voice_changer\gpu_device_manager\gpu_device_manager.py - 133 2024-09-22 18:10:58,153 - vcclient - gpu_device_manager - INFO - GPUcuda: cuda_driver_version:12.2 | - vcclient_dev\voice_changer\gpu_device_manager\gpu_device_manager.py - 134 2024-09-22 18:10:58,153 - vcclient - gpu_device_manager - INFO - GPUcuda: [GPUInfo(name='cpu', device_id='-1', adapter_ram=0, device_id_int=-1, cuda_compute_version_major=-1, cuda_compute_version_minor=-1), GPUInfo(name='NVIDIA GeForce RTX 4090', device_id='0', adapter_ram=25756696576, device_id_int=0, cuda_compute_version_major=8, cuda_compute_version_minor=9)] - vcclient_dev\voice_changer\gpu_device_manager\gpu_device_manager.py - 135 2024-09-22 18:10:58,153 - vcclient - audio_device_manager - INFO - Reloading Audio Device info - vcclient_dev\voice_changer\auido_device_manager\audio_device_manager.py - 132 2024-09-22 18:10:58,239 - vcclient - audio_device_manager - INFO - Audio(input):[AudioDevice(kind='audioinput', index=0, name='Microsoft サウンド マッパー - Input', host_api='MME', max_input_channels=2, max_output_channels=0, default_samplerate=44100, available_samplerates=[]), AudioDevice(kind='audioinput', index=1, name='マイク (2- UAB-80)', host_api='MME', max_input_channels=2, max_output_channels=0, default_samplerate=44100, available_samplerates=[]), AudioDevice(kind='audioinput', index=2, name='ライン (Yamaha SYNCROOM Driver (WD', host_api='MME', max_input_channels=2, max_output_channels=0, default_samplerate=44100, available_samplerates=[]), AudioDevice(kind='audioinput', index=7, name='プライマリ サウンド キャプチャ ドライバー', host_api='Windows DirectSound', max_input_channels=2, max_output_channels=0, default_samplerate=44100, available_samplerates=[]), AudioDevice(kind='audioinput', index=8, name='マイク (2- UAB-80)', host_api='Windows DirectSound', max_input_channels=2, max_output_channels=0, default_samplerate=44100, available_samplerates=[]), AudioDevice(kind='audioinput', index=9, name='ライン (Yamaha SYNCROOM Driver (WDM))', host_api='Windows DirectSound', max_input_channels=2, max_output_channels=0, default_samplerate=44100, available_samplerates=[]), AudioDevice(kind='audioinput', index=14, name='Realtek ASIO', host_api='ASIO', max_input_channels=2, max_output_channels=2, default_samplerate=44100, available_samplerates=[]), AudioDevice(kind='audioinput', index=18, name='ライン (Yamaha SYNCROOM Driver (WDM))', host_api='Windows WASAPI', max_input_channels=2, max_output_channels=0, default_samplerate=44100, available_samplerates=[]), AudioDevice(kind='audioinput', index=19, name='マイク (2- UAB-80)', host_api='Windows WASAPI', max_input_channels=1, max_output_channels=0, default_samplerate=48000, available_samplerates=[]), AudioDevice(kind='audioinput', index=21, name='マイク (UAB-80)', host_api='Windows WDM-KS', max_input_channels=1, max_output_channels=0, default_samplerate=44100, available_samplerates=[]), AudioDevice(kind='audioinput', index=24, name='ライン (DUETTO Wave)', host_api='Windows WDM-KS', max_input_channels=2, max_output_channels=0, default_samplerate=44100, available_samplerates=[]), AudioDevice(kind='audioinput', index=29, name='ライン入力 (Realtek USB Audio)', host_api='Windows WDM-KS', max_input_channels=2, max_output_channels=0, default_samplerate=44100, available_samplerates=[]), AudioDevice(kind='audioinput', index=30, name='マイク (Realtek USB Audio)', host_api='Windows WDM-KS', max_input_channels=2, max_output_channels=0, default_samplerate=44100, available_samplerates=[]), AudioDevice(kind='audioinput', index=31, name='ステレオ ミキサー (Realtek USB Audio)', host_api='Windows WDM-KS', max_input_channels=2, max_output_channels=0, default_samplerate=44100, available_samplerates=[]), AudioDevice(kind='audioinput', index=33, name='ヘッドセット (@System32\drivers\bthhfenum.sys,#2;%1 Hands-Free%0\r\n;(AirPods Pro - Find My))', host_api='Windows WDM-KS', max_input_channels=1, max_output_channels=0, default_samplerate=8000, available_samplerates=[]), AudioDevice(kind='audioinput', index=35, name='マイク (SONICSTUDIOVAD Wave Speaker)', host_api='Windows WDM-KS', max_input_channels=2, max_output_channels=0, default_samplerate=44100, available_samplerates=[])] - vcclient_dev\voice_changer\auido_device_manager\audio_device_manager.py - 134 2024-09-22 18:10:58,239 - vcclient - audio_device_manager - INFO - Audio(output):[AudioDevice(kind='audiooutput', index=3, name='Microsoft サウンド マッパー - Output', host_api='MME', max_input_channels=0, max_output_channels=2, default_samplerate=44100, available_samplerates=[]), AudioDevice(kind='audiooutput', index=4, name='1 - BenQ GW2790QT (AMD High Def', host_api='MME', max_input_channels=0, max_output_channels=2, default_samplerate=44100, available_samplerates=[]), AudioDevice(kind='audiooutput', index=5, name='スピーカー (2- UAB-80)', host_api='MME', max_input_channels=0, max_output_channels=2, default_samplerate=44100, available_samplerates=[]), AudioDevice(kind='audiooutput', index=6, name='ライン (Yamaha SYNCROOM Driver (WD', host_api='MME', max_input_channels=0, max_output_channels=2, default_samplerate=44100, available_samplerates=[]), AudioDevice(kind='audiooutput', index=10, name='プライマリ サウンド ドライバー', host_api='Windows DirectSound', max_input_channels=0, max_output_channels=2, default_samplerate=44100, available_samplerates=[]), AudioDevice(kind='audiooutput', index=11, name='1 - BenQ GW2790QT (AMD High Definition Audio Device)', host_api='Windows DirectSound', max_input_channels=0, max_output_channels=2, default_samplerate=44100, available_samplerates=[]), AudioDevice(kind='audiooutput', index=12, name='スピーカー (2- UAB-80)', host_api='Windows DirectSound', max_input_channels=0, max_output_channels=2, default_samplerate=44100, available_samplerates=[]), AudioDevice(kind='audiooutput', index=13, name='ライン (Yamaha SYNCROOM Driver (WDM))', host_api='Windows DirectSound', max_input_channels=0, max_output_channels=2, default_samplerate=44100, available_samplerates=[]), AudioDevice(kind='audiooutput', index=14, name='Realtek ASIO', host_api='ASIO', max_input_channels=2, max_output_channels=2, default_samplerate=44100, available_samplerates=[]), AudioDevice(kind='audiooutput', index=15, name='スピーカー (2- UAB-80)', host_api='Windows WASAPI', max_input_channels=0, max_output_channels=2, default_samplerate=48000, available_samplerates=[]), AudioDevice(kind='audiooutput', index=16, name='ライン (Yamaha SYNCROOM Driver (WDM))', host_api='Windows WASAPI', max_input_channels=0, max_output_channels=2, default_samplerate=44100, available_samplerates=[]), AudioDevice(kind='audiooutput', index=17, name='1 - BenQ GW2790QT (AMD High Definition Audio Device)', host_api='Windows WASAPI', max_input_channels=0, max_output_channels=2, default_samplerate=48000, available_samplerates=[]), AudioDevice(kind='audiooutput', index=20, name='スピーカー (UAB-80)', host_api='Windows WDM-KS', max_input_channels=0, max_output_channels=2, default_samplerate=44100, available_samplerates=[]), AudioDevice(kind='audiooutput', index=22, name='Output (AMD HD Audio HDMI out #0)', host_api='Windows WDM-KS', max_input_channels=0, max_output_channels=2, default_samplerate=44100, available_samplerates=[]), AudioDevice(kind='audiooutput', index=23, name='ヘッドホン ()', host_api='Windows WDM-KS', max_input_channels=0, max_output_channels=2, default_samplerate=44100, available_samplerates=[]), AudioDevice(kind='audiooutput', index=25, name='Line Out (DUETTO Wave)', host_api='Windows WDM-KS', max_input_channels=0, max_output_channels=2, default_samplerate=44100, available_samplerates=[]), AudioDevice(kind='audiooutput', index=26, name='ヘッドホン (Realtek USB Audio)', host_api='Windows WDM-KS', max_input_channels=0, max_output_channels=2, default_samplerate=44100, available_samplerates=[]), AudioDevice(kind='audiooutput', index=27, name='スピーカー (Realtek USB Audio)', host_api='Windows WDM-KS', max_input_channels=0, max_output_channels=8, default_samplerate=44100, available_samplerates=[]), AudioDevice(kind='audiooutput', index=28, name='SPDIF インターフェイス (Realtek USB Audio)', host_api='Windows WDM-KS', max_input_channels=0, max_output_channels=2, default_samplerate=44100, available_samplerates=[]), AudioDevice(kind='audiooutput', index=32, name='ヘッドセット (@System32\drivers\bthhfenum.sys,#2;%1 Hands-Free%0\r\n;(AirPods Pro - Find My))', host_api='Windows WDM-KS', max_input_channels=0, max_output_channels=1, default_samplerate=8000, available_samplerates=[]), AudioDevice(kind='audiooutput', index=34, name='Speakers (SONICSTUDIOVAD Wave Speaker)', host_api='Windows WDM-KS', max_input_channels=0, max_output_channels=2, default_samplerate=44100, available_samplerates=[])] - vcclient_dev\voice_changer\auido_device_manager\audio_device_manager.py - 135 2024-09-22 18:10:58,240 - vcclient - vcserver - INFO - Starting VCServer on port 18000 - vcclient_dev\server\vcserver.py - 115 2024-09-22 18:10:58,366 - vcclient - client_launcher - WARNING - - vcclient_dev\client_launcher\client_launcher.py - 82 2024-09-22 18:10:58,578 - vcclient - vcserver_socketio - INFO - SocketIOApp Allow Origins * - vcclient_dev\server\vcserver_socketio.py - 87 2024-09-22 18:10:58,578 - uvicorn.er - server - INFO - Started server process [75516] - uvicorn\server.py - 82 2024-09-22 18:10:58,578 - uvicorn.er - on - INFO - Waiting for application startup. - uvicorn\lifespan\on.py - 48 2024-09-22 18:10:58,578 - uvicorn.er - on - INFO - Application startup complete. - uvicorn\lifespan\on.py - 62 2024-09-22 18:10:58,578 - uvicorn.er - server - INFO - Uvicorn running on http://('0.0.0.0',):18000 (Press CTRL+C to quit) - uvicorn\server.py - 214 2024-09-22 18:10:58,928 - vcclient - client_launcher - WARNING - [VCClient] Access http://localhost:18000/ - vcclient_dev\client_launcher\client_launcher.py - 82 2024-09-22 18:10:58,952 - uvicorn.ac - h11_impl - INFO - 127.0.0.1:53033 - "GET / HTTP/1.1" 200 - uvicorn\protocols\http\h11_impl.py - 477 2024-09-22 18:10:58,953 - vcclient - client_launcher - WARNING - [VCClient] wait web server... done 200 - vcclient_dev\client_launcher\client_launcher.py - 82 2024-09-22 18:10:59,292 - uvicorn.ac - h11_impl - INFO - 127.0.0.1:53043 - "GET / HTTP/1.1" 200 - uvicorn\protocols\http\h11_impl.py - 477 2024-09-22 18:10:59,322 - uvicorn.ac - h11_impl - INFO - 127.0.0.1:53043 - "GET /index.js HTTP/1.1" 200 - uvicorn\protocols\http\h11_impl.py - 477 2024-09-22 18:10:59,334 - uvicorn.ac - h11_impl - INFO - 127.0.0.1:53043 - "GET /static/chunks/15bad328ccb55bdb81d0.css HTTP/1.1" 200 - uvicorn\protocols\http\h11_impl.py - 477 2024-09-22 18:10:59,432 - uvicorn.ac - h11_impl - INFO - 127.0.0.1:53043 - "GET /assets/i18n/ja/translation.json HTTP/1.1" 200 - uvicorn\protocols\http\h11_impl.py - 477 2024-09-22 18:10:59,436 - uvicorn.ac - h11_impl - INFO - 127.0.0.1:53043 - "GET /assets/i18n/en/translation.json HTTP/1.1" 200 - uvicorn\protocols\http\h11_impl.py - 477 2024-09-22 18:10:59,444 - uvicorn.ac - h11_impl - INFO - 127.0.0.1:53043 - "GET /assets/gui_settings/GUI.json HTTP/1.1" 200 - uvicorn\protocols\http\h11_impl.py - 477 2024-09-22 18:10:59,445 - uvicorn.ac - h11_impl - INFO - 127.0.0.1:53043 - "GET /assets/gui_settings/version.txt HTTP/1.1" 200 - uvicorn\protocols\http\h11_impl.py - 477 2024-09-22 18:10:59,446 - uvicorn.ac - h11_impl - INFO - 127.0.0.1:53043 - "GET /assets/gui_settings/edition.txt HTTP/1.1" 200 - uvicorn\protocols\http\h11_impl.py - 477 2024-09-22 18:10:59,451 - uvicorn.ac - h11_impl - INFO - 127.0.0.1:53043 - "GET /api/configuration-manager/configuration HTTP/1.1" 200 - uvicorn\protocols\http\h11_impl.py - 477 2024-09-22 18:10:59,453 - uvicorn.ac - h11_impl - INFO - 127.0.0.1:53043 - "GET /api/audio-device-manager/input_devices HTTP/1.1" 200 - uvicorn\protocols\http\h11_impl.py - 477 2024-09-22 18:10:59,454 - uvicorn.ac - h11_impl - INFO - 127.0.0.1:53043 - "GET /api/audio-device-manager/output_devices HTTP/1.1" 200 - uvicorn\protocols\http\h11_impl.py - 477 2024-09-22 18:10:59,456 - uvicorn.ac - h11_impl - INFO - 127.0.0.1:53043 - "GET /api/gpu-device-manager/devices HTTP/1.1" 200 - uvicorn\protocols\http\h11_impl.py - 477 2024-09-22 18:10:59,457 - uvicorn.ac - h11_impl - INFO - 127.0.0.1:53043 - "GET /api/module-manager/modules HTTP/1.1" 200 - uvicorn\protocols\http\h11_impl.py - 477 2024-09-22 18:10:59,460 - uvicorn.ac - h11_impl - INFO - 127.0.0.1:53043 - "GET /api/sample-manager/samples HTTP/1.1" 200 - uvicorn\protocols\http\h11_impl.py - 477 2024-09-22 18:10:59,466 - uvicorn.ac - h11_impl - INFO - 127.0.0.1:53043 - "GET /api/slot-manager/slots HTTP/1.1" 200 - uvicorn\protocols\http\h11_impl.py - 477 2024-09-22 18:10:59,468 - vcclient - voice_changer_manage - INFO - Getting voice changer manager information. - vcclient_dev\voice_changer\voice_change_manager\voice_changer_manager.py - 22 2024-09-22 18:10:59,468 - vcclient - voice_changer - INFO - slot_index: -1 -> 5, gpu_device_index: -1 -> -1 - vcclient_dev\voice_changer\voice_change_manager\voice_changer.py - 86 2024-09-22 18:10:59,468 - vcclient - voice_changer - WARNING - Failed to update model:Unknown voice changer type:None - vcclient_dev\voice_changer\voice_change_manager\voice_changer.py - 78 2024-09-22 18:10:59,468 - vcclient - validation_error_log - ERROR - VCClientError: {"code":701,"reason":"Model update failed.","action":"Please check model file and start converting.","detail":"Failed to update model:Unknown voice changer type:None"} - vcclient_dev\server\validation_error_logging_route.py - 26 2024-09-22 18:10:59,468 - uvicorn.ac - h11_impl - INFO - 127.0.0.1:53043 - "GET /api/voice-changer-manager/information HTTP/1.1" 422 - uvicorn\protocols\http\h11_impl.py - 477 2024-09-22 18:10:59,470 - uvicorn.ac - h11_impl - INFO - 127.0.0.1:53043 - "GET /api/configuration-manager/configuration HTTP/1.1" 200 - uvicorn\protocols\http\h11_impl.py - 477 2024-09-22 18:10:59,473 - uvicorn.ac - h11_impl - INFO - 127.0.0.1:53043 - "GET /assets/icons/github.svg HTTP/1.1" 200 - uvicorn\protocols\http\h11_impl.py - 477 2024-09-22 18:10:59,476 - uvicorn.ac - h11_impl - INFO - 127.0.0.1:53043 - "GET /assets/icons/help-circle.svg HTTP/1.1" 200 - uvicorn\protocols\http\h11_impl.py - 477 2024-09-22 18:10:59,479 - uvicorn.ac - h11_impl - INFO - 127.0.0.1:53043 - "GET /assets/icons/monitor.svg HTTP/1.1" 200 - uvicorn\protocols\http\h11_impl.py - 477 2024-09-22 18:10:59,480 - uvicorn.ac - h11_impl - INFO - 127.0.0.1:53043 - "GET /assets/icons/buymeacoffee.png HTTP/1.1" 200 - uvicorn\protocols\http\h11_impl.py - 477 2024-09-22 18:10:59,543 - uvicorn.ac - h11_impl - INFO - 127.0.0.1:53043 - "GET /model_dir/0/kikoto_kurage.png HTTP/1.1" 304 - uvicorn\protocols\http\h11_impl.py - 477 2024-09-22 18:10:59,544 - uvicorn.ac - h11_impl - INFO - 127.0.0.1:53048 - "GET /assets/icons/human.png HTTP/1.1" 200 - uvicorn\protocols\http\h11_impl.py - 477 2024-09-22 18:10:59,545 - uvicorn.ac - h11_impl - INFO - 127.0.0.1:53043 - "GET /model_dir/1/kikoto_mahiro.png HTTP/1.1" 304 - uvicorn\protocols\http\h11_impl.py - 477 2024-09-22 18:10:59,549 - uvicorn.ac - h11_impl - INFO - 127.0.0.1:53043 - "GET /model_dir/2/tokina_shigure.png HTTP/1.1" 304 - uvicorn\protocols\http\h11_impl.py - 477 2024-09-22 18:10:59,553 - uvicorn.ac - h11_impl - INFO - 127.0.0.1:53043 - "GET /model_dir/3/amitaro.png HTTP/1.1" 304 - uvicorn\protocols\http\h11_impl.py - 477 2024-09-22 18:10:59,554 - uvicorn.ac - h11_impl - INFO - 127.0.0.1:53048 - "GET /model_dir/4/tsukuyomi-chan.png HTTP/1.1" 304 - uvicorn\protocols\http\h11_impl.py - 477 2024-09-22 18:10:59,557 - uvicorn.ac - h11_impl - INFO - 127.0.0.1:53043 - "GET /model_dir/10202/BeatriceAPIJVSCorpus.png HTTP/1.1" 304 - uvicorn\protocols\http\h11_impl.py - 477 2024-09-22 18:11:02,361 - uvicorn.ac - h11_impl - INFO - 127.0.0.1:53043 - "GET /socket.io/?EIO=4&transport=polling&t=P8O_wtN HTTP/1.1" 200 - uvicorn\protocols\http\h11_impl.py - 477 2024-09-22 18:11:02,363 - vcclient - vcserver_socketio_na - INFO - connect sid: viOq2Fk51FRD-HmVAAAB - vcclient_dev\server\vcserver_socketio_namespace.py - 47 2024-09-22 18:11:02,363 - uvicorn.ac - h11_impl - INFO - 127.0.0.1:53043 - "POST /socket.io/?EIO=4&transport=polling&t=P8O_wtQ&sid=YLVKuwqI5IV0m5s6AAAA HTTP/1.1" 200 - uvicorn\protocols\http\h11_impl.py - 477 2024-09-22 18:11:02,363 - uvicorn.ac - h11_impl - INFO - 127.0.0.1:53049 - "GET /socket.io/?EIO=4&transport=polling&t=P8O_wtQ.1 HTTP/1.1" 200 - uvicorn\protocols\http\h11_impl.py - 477 2024-09-22 18:11:02,363 - uvicorn.ac - h11_impl - INFO - 127.0.0.1:53048 - "GET /socket.io/?EIO=4&transport=polling&t=P8O_wtQ.0&sid=YLVKuwqI5IV0m5s6AAAA HTTP/1.1" 200 - uvicorn\protocols\http\h11_impl.py - 477 2024-09-22 18:11:02,368 - vcclient - vcserver_socketio_na - INFO - connect sid: MK3DSsXuL25RFRzlAAAD - vcclient_dev\server\vcserver_socketio_namespace.py - 47 2024-09-22 18:11:02,368 - uvicorn.ac - h11_impl - INFO - 127.0.0.1:53049 - "POST /socket.io/?EIO=4&transport=polling&t=P8O_wtV.0&sid=f5DfWu0UlgmONqfyAAAC HTTP/1.1" 200 - uvicorn\protocols\http\h11_impl.py - 477 2024-09-22 18:11:02,369 - uvicorn.ac - h11_impl - INFO - 127.0.0.1:53043 - "GET /socket.io/?EIO=4&transport=polling&t=P8O_wtW&sid=f5DfWu0UlgmONqfyAAAC HTTP/1.1" 200 - uvicorn\protocols\http\h11_impl.py - 477 2024-09-22 18:11:02,669 - uvicorn.er - wsproto_impl - INFO - ('127.0.0.1', 53060) - "WebSocket /socket.io/?EIO=4&transport=websocket&sid=YLVKuwqI5IV0m5s6AAAA" [accepted] - uvicorn\protocols\websockets\wsproto_impl.py - 259 2024-09-22 18:11:02,670 - uvicorn.ac - h11_impl - INFO - 127.0.0.1:53048 - "GET /socket.io/?EIO=4&transport=polling&t=P8O_wtV&sid=YLVKuwqI5IV0m5s6AAAA HTTP/1.1" 200 - uvicorn\protocols\http\h11_impl.py - 477 2024-09-22 18:11:02,685 - uvicorn.er - wsproto_impl - INFO - ('127.0.0.1', 53062) - "WebSocket /socket.io/?EIO=4&transport=websocket&sid=f5DfWu0UlgmONqfyAAAC" [accepted] - uvicorn\protocols\websockets\wsproto_impl.py - 259 2024-09-22 18:11:02,686 - uvicorn.ac - h11_impl - INFO - 127.0.0.1:53043 - "GET /socket.io/?EIO=4&transport=polling&t=P8O_wtX&sid=f5DfWu0UlgmONqfyAAAC HTTP/1.1" 200 - uvicorn\protocols\http\h11_impl.py - 477 2024-09-22 18:12:26,732 - uvicorn.ac - h11_impl - INFO - 127.0.0.1:52396 - "GET / HTTP/1.1" 200 - uvicorn\protocols\http\h11_impl.py - 477 2024-09-22 18:12:26,741 - uvicorn.ac - h11_impl - INFO - 127.0.0.1:52396 - "GET /index.js HTTP/1.1" 200 - uvicorn\protocols\http\h11_impl.py - 477 2024-09-22 18:12:26,748 - uvicorn.ac - h11_impl - INFO - 127.0.0.1:52396 - "GET /static/chunks/15bad328ccb55bdb81d0.css HTTP/1.1" 200 - uvicorn\protocols\http\h11_impl.py - 477 2024-09-22 18:12:26,789 - uvicorn.ac - h11_impl - INFO - 127.0.0.1:52396 - "GET /assets/i18n/ja/translation.json HTTP/1.1" 200 - uvicorn\protocols\http\h11_impl.py - 477 2024-09-22 18:12:26,790 - uvicorn.ac - h11_impl - INFO - 127.0.0.1:52396 - "GET /assets/i18n/en/translation.json HTTP/1.1" 200 - uvicorn\protocols\http\h11_impl.py - 477 2024-09-22 18:12:26,792 - uvicorn.ac - h11_impl - INFO - 127.0.0.1:52396 - "GET /assets/gui_settings/GUI.json HTTP/1.1" 200 - uvicorn\protocols\http\h11_impl.py - 477 2024-09-22 18:12:26,795 - uvicorn.ac - h11_impl - INFO - 127.0.0.1:52396 - "GET /assets/gui_settings/version.txt HTTP/1.1" 200 - uvicorn\protocols\http\h11_impl.py - 477 2024-09-22 18:12:26,796 - uvicorn.ac - h11_impl - INFO - 127.0.0.1:52396 - "GET /assets/gui_settings/edition.txt HTTP/1.1" 200 - uvicorn\protocols\http\h11_impl.py - 477 2024-09-22 18:12:26,798 - uvicorn.ac - h11_impl - INFO - 127.0.0.1:52396 - "GET /api/configuration-manager/configuration HTTP/1.1" 200 - uvicorn\protocols\http\h11_impl.py - 477 2024-09-22 18:12:26,799 - uvicorn.ac - h11_impl - INFO - 127.0.0.1:52396 - "GET /api/audio-device-manager/input_devices HTTP/1.1" 200 - uvicorn\protocols\http\h11_impl.py - 477 2024-09-22 18:12:26,801 - uvicorn.ac - h11_impl - INFO - 127.0.0.1:52396 - "GET /api/audio-device-manager/output_devices HTTP/1.1" 200 - uvicorn\protocols\http\h11_impl.py - 477 2024-09-22 18:12:26,802 - uvicorn.ac - h11_impl - INFO - 127.0.0.1:52396 - "GET /api/gpu-device-manager/devices HTTP/1.1" 200 - uvicorn\protocols\http\h11_impl.py - 477 2024-09-22 18:12:26,803 - uvicorn.ac - h11_impl - INFO - 127.0.0.1:52396 - "GET /api/module-manager/modules HTTP/1.1" 200 - uvicorn\protocols\http\h11_impl.py - 477 2024-09-22 18:12:26,805 - uvicorn.ac - h11_impl - INFO - 127.0.0.1:52396 - "GET /api/sample-manager/samples HTTP/1.1" 200 - uvicorn\protocols\http\h11_impl.py - 477 2024-09-22 18:12:26,813 - uvicorn.ac - h11_impl - INFO - 127.0.0.1:52396 - "GET /api/slot-manager/slots HTTP/1.1" 200 - uvicorn\protocols\http\h11_impl.py - 477 2024-09-22 18:12:26,815 - vcclient - voice_changer_manage - INFO - Getting voice changer manager information. - vcclient_dev\voice_changer\voice_change_manager\voice_changer_manager.py - 22 2024-09-22 18:12:26,815 - vcclient - validation_error_log - ERROR - Exception: 'VoiceChanger' object has no attribute 'vc_pipeline' - vcclient_dev\server\validation_error_logging_route.py - 32 2024-09-22 18:12:26,816 - vcclient - validation_error_log - ERROR - Exception tb: Traceback (most recent call last): File "vcclient_dev\server\validation_error_logging_route.py", line 17, in custom_route_handler File "fastapi\routing.py", line 278, in app File "fastapi\routing.py", line 193, in run_endpoint_function File "starlette\concurrency.py", line 42, in run_in_threadpool File "anyio\to_thread.py", line 56, in run_sync File "anyio_backends_asyncio.py", line 2177, in run_sync_in_worker_thread File "anyio_backends_asyncio.py", line 859, in run File "vcclient_dev\server\vcserver_rest_api_voice_changaer.py", line 123, in get_voice_changer_information File "vcclient_dev\voice_changer\voice_change_manager\voice_changer_manager.py", line 24, in get_info File "vcclient_dev\voice_changer\voice_change_manager\voice_changer.py", line 193, in get_voice_changer_information AttributeError: 'VoiceChanger' object has no attribute 'vc_pipeline'

Kuuko-fokkusugaru commented 1 month ago

I feel like this may be the expected behavior. The GUI isn't more than just a local website. When you add them manually, you are probably also adding them to the settings files so there is a relation between the settings and the files in the folders and that's why they work. I am not sure whether the settings files between 1 and 2 containing the models locations may be too different. They may be json files (probably) so you may find a way to copy and paste the chunk of text containing the models as long as the dir of the files are relative and not absolute. Either way I feel like it would be just way easier to manually add them one by one even if it may be a bit tedious.

w-okada commented 1 month ago

Currently, a migration tool from v1 to v2 is not provided. If you want it, open the feature request. Maybe someone might create it for us.