mirror of
https://github.com/RVC-Project/Retrieval-based-Voice-Conversion-WebUI.git
synced 2026-11-05 00:27:30 +00:00
[GH-ISSUE #672] RVC导出的onnx模型在VC(voice-changer)中无法使用,但pth可以 #400
Labels
No labels
AMD/Intel
bug
bug
bug
colab
dependencies
documentation
duplicate
enhancement
following up
good first issue
help wanted
invalid
question
stale
stale
stale
todo list
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
RVC-Project/Retrieval-based-Voice-Conversion-WebUI#400
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @hpx502766238 on GitHub (Jul 2, 2023).
Original GitHub issue: https://github.com/RVC-Project/Retrieval-based-Voice-Conversion-WebUI/issues/672
RVC导出的onnx模型在voice-changer(https://github.com/w-okada/voice-changer)中无法使用,报错,但VC直接使用pth又能够推理,但如果使用pth,又不能通过DirectML利用核显的算力了(测试用VC自带的onnx示例模型是可以使用核显推理的)。下面是VC报错内容:
[Voice Changer] VC PROCESSING EXCEPTION!!! Required inputs (['phone', 'phone_lengths', 'ds', 'rnd']) are missing from input feed (['feats', 'p_len', 'pitch', 'pitchf', 'sid']).
Traceback (most recent call last):
File "voice_changer\VoiceChanger.py", line 228, in on_request_sola
File "voice_changer\RVC\RVC.py", line 157, in inference
File "voice_changer\RVC\pipeline\Pipeline.py", line 209, in exec
File "voice_changer\RVC\inferencer\OnnxRVCInferencer.py", line 57, in infer
File "onnxruntime\capi\onnxruntime_inference_collection.py", line 213, in run
File "onnxruntime\capi\onnxruntime_inference_collection.py", line 195, in _validate_input
ValueError: Required inputs (['phone', 'phone_lengths', 'ds', 'rnd']) are missing from input feed (['feats', 'p_len', 'pitch', 'pitchf', 'sid']).
@ykk648 commented on GitHub (Nov 6, 2023):
onnx转换的不一样
@github-actions[bot] commented on GitHub (Apr 29, 2024):
This issue was closed because it has been inactive for 15 days since being marked as stale.