w-okada / voice-changer

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

[ISSUE]: GUI wont load due to failed download of "samples_0004_t.json" and/or "model_dir" #1190

Open SchnuffiPolivi opened 2 months ago

SchnuffiPolivi commented 2 months ago

Voice Changer Version

MMVCServerSIO_win_onnxgpu-cuda_v.1.5.3.18a.zip

Operational System

Windows 11

GPU

NVIDIA GeForce RTX 3060 Laptop GPU

Read carefully and check the options

Model Type

MMVC

Issue Description

I'm still a beginner with python, so I have no idea what's causing the issue. Could be a downloading error, or an OS error from what I can tell reading the errors. I tried putting the link the console gave me into both Opera GX and Chrome, but neither were able to successfully open the link. I tried waiting upwards of 2000 instances of waiting for the web server, where nothing happened either. Both start batch files did not work. Haven't touched any files what so ever.

Application Screenshot

No response

Logs on console

C:\Tech Stuffs\AI Voice Changer\MMVCServerSIO_win_onnxgpu-cuda_v.1.5.3.18a\MMVCServerSIO>MMVCServerSIO.exe -p 18888 --https false --content_vec_500 pretrain/checkpoint_best_legacy_500.pt --content_vec_500_onnx pretrain/content_vec_500.onnx --content_vec_500_onnx_on true --hubert_base pretrain/hubert_base.pt --hubert_base_jp pretrain/rinna_hubert_base_jp.pt --hubert_soft pretrain/hubert/hubert-soft-0d54a1f4.pt --nsf_hifigan pretrain/nsf_hifigan/model --crepe_onnx_full pretrain/crepe_onnx_full.onnx --crepe_onnx_tiny pretrain/crepe_onnx_tiny.onnx --rmvpe pretrain/rmvpe.pt --model_dir model_dir --samples samples.json Booting PHASE :main PYTHON:3.10.11 (tags/v3.10.11:7d4cc5a, Apr 5 2023, 00:38:17) [MSC v.1929 64 bit (AMD64)] Activating the Voice Changer. ('Connection aborted.', OSError(22, 'Invalid argument')) ('Connection aborted.', OSError(22, 'Invalid argument')) ('Connection aborted.', OSError(22, 'Invalid argument')) ('Connection aborted.', OSError(22, 'Invalid argument')) ('Connection aborted.', OSError(22, 'Invalid argument')) ('Connection aborted.', OSError(22, 'Invalid argument')) ('Connection aborted.', OSError(22, 'Invalid argument')) ('Connection aborted.', OSError(22, 'Invalid argument')) ('Connection aborted.', OSError(22, 'Invalid argument')) ('Connection aborted.', OSError(22, 'Invalid argument')) ('Connection aborted.', OSError(22, 'Invalid argument')) ('Connection aborted.', OSError(22, 'Invalid argument')) failed to download weight for rvc ('Connection aborted.', OSError(22, 'Invalid argument')) ('Connection aborted.', OSError(22, 'Invalid argument')) ('Connection aborted.', OSError(22, 'Invalid argument')) [Voice Changer] loading sample failed [Errno 2] No such file or directory: 'samples_0004_t.json' 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/

[5716:0418/202859.246:ERROR:network_service_instance_impl.cc(648)] Failed opening SSL key log file: c\:Users\Cedric Renaud\SSLKeys\sslkeylog.log [VCClient] Access http://127.0.0.1:18888/

JacobGLR commented 2 months ago

Hello, I had the same issue and fixed it (sort of).

I made a new rule in Windows Firewall (Inbound Rules) enabling the port 18888 to go through.

It wont download the samples.json or model_dir, but it will load the GUI.

braceylarreyy commented 2 months ago

i use a mac and we are having same issue

SchnuffiPolivi commented 2 months ago

Hello, I had the same issue and fixed it (sort of).

I made a new rule in Windows Firewall (Inbound Rules) enabling the port 18888 to go through.

It wont download the samples.json or model_dir, but it will load the GUI.

I tried to set the port up with both TCP and UPD, but both times nothing happened

FosterG4 commented 2 months ago

I think it's because your provider is blocking it try using a VPN or using cloudflare warp and run as administrator (disable your firewall)