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

推理接口 参数类型报错 infer_convert

Open
#2,362 0 comments 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

self.gradio_client.predict(
            0,
            "/root/autodl-tmp/test/vocals.wav",
            0,
            None,
            "rmvpe",
            "",
            "logs/mi-test/added_IVF223_Flat_nprobe_1_mi-test_v2.index",
            0.75,
            3,
            0,
            0.25,
            0.33,
            "mi-test.pth",
            api_name="/infer_convert",
        )

报类型错误
expected str, bytes or os.PathLike object, not NoneType

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 by tracing the /infer_convert entry point and the parameter handling behind gradio_client.predict, using the reported call as a reproduction. Identify which argument is reaching the handler as None and verify the intended behavior before changing it; done means the reported call no longer raises the expected str, bytes or os.PathLike object error.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
api
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.