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

最新的main branch的人声伴奏分离,以及训练的代码都存在no module named xxx的问题

Open
#2,842 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

点击人声伴奏分离的“转换”按钮后,出现报错:

PyMSS worker: PyMSS 子进程失败
Traceback (most recent call last):
  File "D:\rvcaudio\assets\tools\pymss_webui.py", line 597, in _pymss_worker_main
    with MSSTBatchSeparator(
         ^^^^^^^^^^^^^^^^^^^
  File "D:\rvcaudio\assets\tools\pymss_webui.py", line 312, in __init__
    raise FileNotFoundError(model_path)
FileNotFoundError: assets\pymss_weights\dereverb_mel_band_roformer_less_aggressive_anvuew_sdr_18.8050.ckpt

我看了一下,原因是pymss_webui.py里面,路径不完整,没有把ckpt开头的路径(比如D:\rvcaudio\)包括进来

而训练的代码,点击“一键训练”后,出现报错:

Traceback (most recent call last):
  File "D:\rvcaudio\assets\train\preprocess.py", line 21, in <module>
    from infer.audio import load_audio
ModuleNotFoundError: No module named 'infer'

我看了一下,train\preprocess.py的同级里,没有infer这个文件夹。infer文件夹是与train文件夹同级的。
这个报错我不知道怎么处理了,请麻烦修复一下。

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 assets/tools/pymss_webui.py and inspect how the checkpoint path is assembled before MSSTBatchSeparator raises FileNotFoundError. Then read assets/train/preprocess.py and the sibling infer directory to investigate the missing import. Done means the main-branch vocal/instrumental separation and one-click training flows start without these path or module errors.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.