RVC-Project / RVC-Project/Retrieval-based-Voice-Conversion-WebUI
推理接口 参数类型报错 infer_convert
Open
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
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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