RVC-Project / RVC-Project/Retrieval-based-Voice-Conversion-WebUI

Issue on 2b Feature Extraction

Open
#1,127 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

following up
Dominant language
Python
Stars
38.4k
Forks
5.3k
PR merge metrics
No merged PRs in 30d

Description

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'

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with infer/modules/train/extract/extract_f0_print.py and follow its RMVPE initialization into infer/lib/rmvpe.py. Reproduce feature extraction and verify whether the referenced assets/rmvpe/rmvpe.pt path is available; done means extraction completes without the reported FileNotFoundError and produces the expected f0 output.

Written by the indexing model from the issue text.

Assessment

Tech stack
python, pytorch
Domain
machine-learning
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.