Retrieval-based-Voice-Conversion-WebUI icon indicating copy to clipboard operation
Retrieval-based-Voice-Conversion-WebUI copied to clipboard

Issue on 2b Feature Extraction

Open BRLTS opened this issue 2 years ago • 4 comments

When i try to feature extraction, it becomes like this, there's no f0ing or something:

loading rmvpe model 2023-08-30 03:41:30 | INFO | httpx | HTTP Request: POST http://127.0.0.1:7860/api/predict "HTTP/1.1 200 OK" f0fail-71-/content/Retrieval-based-Voice-Conversion-WebUI/logs/Raisu/1_16k_wavs/151_3.wav-Traceback (most recent call last): File "/content/Retrieval-based-Voice-Conversion-WebUI/infer/modules/train/extract/extract_f0_print.py", line 126, in go featur_pit = self.compute_f0(inp_path, f0_method) File "/content/Retrieval-based-Voice-Conversion-WebUI/infer/modules/train/extract/extract_f0_print.py", line 89, in compute_f0 self.model_rmvpe = RMVPE( File "/content/Retrieval-based-Voice-Conversion-WebUI/infer/lib/rmvpe.py", line 585, in init ckpt = torch.load(model_path, map_location="cpu") File "/usr/local/lib/python3.10/dist-packages/torch/serialization.py", line 791, in load with _open_file_like(f, 'rb') as opened_file: File "/usr/local/lib/python3.10/dist-packages/torch/serialization.py", line 271, in _open_file_like return _open_file(name_or_buffer, mode) File "/usr/local/lib/python3.10/dist-packages/torch/serialization.py", line 252, in init super().init(open(name, mode)) FileNotFoundError: [Errno 2] No such file or directory: 'assets/rmvpe/rmvpe.pt'

BRLTS avatar Aug 30 '23 03:08 BRLTS

@BRLTS Place rmvpe.pt in 'assets/rmvpe/

Tps-F avatar Aug 30 '23 04:08 Tps-F

Anyway, I'm using on colab, so i upload it into assets/rmvpe/ folder? @Tps-F

BRLTS avatar Aug 30 '23 05:08 BRLTS

same issue. where do i find rmvpe.pt?

knasiotis avatar Apr 01 '24 18:04 knasiotis

same issue. where do i find rmvpe.pt?

Download the required files for the rmvpe vocal pitch extraction algorithm If you want to use the latest RMVPE vocal pitch extraction algorithm, you need to download the pitch extraction model parameters and place them in assets/rmvpe.

https://huggingface.co/lj1995/VoiceConversionWebUI/blob/main/rmvpe.pt

I had the same issue. Found the solution right after reading this thread. Tab was still open so I thought might as well post the fix for future google search people... Just move that file from huggingface into rmvpe folder. I tested and it worked.

dan198j avatar Apr 29 '24 23:04 dan198j