w-okada / voice-changer

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

[ISSUE]: Voice changer not working + Res too high (20k+) #1235

Open daniddani opened 2 weeks ago

daniddani commented 2 weeks ago

Voice Changer Version

MMVCServerSIO_win_onnxdirectML-cuda_v.1.5.3.15

Operational System

Windows 10

GPU

Intel(R) HD Graphics 520

Read carefully and check the options

Model Type

RVC

Issue Description

Tested the "voice changer" in a browser, then ended up having the same nerdy voice i have rn, also noticed that my res is too damn high. Can't figure it out why, whether it's because of my gpu or low-end laptop, idk about the requirements.

Application Screenshot

Test

Logs on console

C:\Users\daniy\Downloads\MMVCServerSIO_win_onnxdirectML-cuda_v.1.5.3.15\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. [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/ Booting PHASE :main Booting PHASE :MMVCServerSIO [Voice Changer] VoiceChangerManager initializing... [Voice Changer] model slot is changed -1 -> 2 ................RVC [VCClient] wait web server...10 http://127.0.0.1:18888/ [Voice Changer] [RVCr2] Creating instance VoiceChangerV2 Initialized (GPU_NUM(cuda):0, mps_enabled:False, onnx_device:CPU-DML) [Voice Changer][RVC]: update_settings gpu:-1 [Voice Changer][RVCr2] Initializing... [VCClient] wait web server...20 http://127.0.0.1:18888/ [Voice Changer] generate new embedder. (no embedder) [Voice Changer] Loading index... [Voice Changer] Index file is not found GENERATE INFERENCER<voice_changer.RVC.inferencer.OnnxRVCInferencer.OnnxRVCInferencer object at 0x000001C9613FFA60> GENERATE EMBEDDER<voice_changer.RVC.embedder.OnnxContentvec.OnnxContentvec object at 0x000001C961460160> GENERATE PITCH EXTRACTOR<voice_changer.RVC.pitchExtractor.RMVPEOnnxPitchExtractor.RMVPEOnnxPitchExtractor object at 0x000001C9614601C0> [Voice Changer] [RVC] Initializing... done [Voice Changer][RVC]: update_settings f0Detector:rmvpe_onnx [VCClient] wait web server...30 http://127.0.0.1:18888/ [Voice Changer][RVC]: update_settings serverReadChunkSize:48 [Voice Changer][RVC]: update_settings modelSlotIndex:1717924826002 [Voice Changer] VoiceChangerManager initializing... done. [Voice Changer] MMVC_Rest initializing... [Voice Changer] MMVC_Rest initializing... done. [Voice Changer] MMVC_SocketIOApp initializing... [Voice Changer] MMVC_SocketIOApp initializing... done. [VCClient] wait web server... done 200 [2024-06-09 18:24:49] connet sid : WIjGVvqyiWIjvBwFAAAC [2024-06-09 18:24:49] connet sid : 0Sp6a2nPQpg0QjtJAAAD Generated Strengths: for prev:(4096,), for cur:(4096,) [Voice Changer] warming up... generating sola buffer.

KuukoShan commented 1 week ago

I think onnx works better for gpus and not so much for cpus. You can try to change the F detection but also change the tune since is set to zero.

Check the tutorial for more information. https://github.com/w-okada/voice-changer/blob/master/tutorials/tutorial_rvc_en_latest.md

daniddani commented 5 days ago

I think onnx works better for gpus and not so much for cpus. You can try to change the F detection but also change the tune since is set to zero.

Check the tutorial for more information. https://github.com/w-okada/voice-changer/blob/master/tutorials/tutorial_rvc_en_latest.md

Thanks for the suggestion, Kuuko. But I just realised that this is not the case, the fact that my laptop and gpu is too old for this software, which means it's nearly impossible for the software to work with this kind of potato laptop and gpu. ;-;