Retrieval-based-Voice-Conversion-WebUI icon indicating copy to clipboard operation
Retrieval-based-Voice-Conversion-WebUI copied to clipboard

遇到有关phone的一些问题

Open thisisjacky6 opened this issue 1 year ago • 0 comments

详见图片 image

我在调试的过程中遇到了一个问题,新手小白,恳请大佬指导,请问需要怎么做,报错如下,谢谢

Exception has occurred: InvalidArgument [ONNXRuntimeError] : 2 : INVALID_ARGUMENT : Got invalid dimensions for input: phone for the following indices index: 2 Got: 499 Expected: 768 Please fix either the inputs/outputs or the model. File "/root/autodl-tmp/rvc/Retrieval-based-Voice-Conversion-WebUI/infer/lib/infer_pack/onnx_inference.py", line 96, in forward return (self.model.run(None, onnx_input)[0] * 32767).astype(np.int16) File "/root/autodl-tmp/rvc/Retrieval-based-Voice-Conversion-WebUI/infer/lib/infer_pack/onnx_inference.py", line 147, in inference out_wav = self.forward(hubert, hubert_length, pitch, pitchf, ds, rnd).squeeze() File "/root/autodl-tmp/rvc/Retrieval-based-Voice-Conversion-WebUI/onnxinfer.py", line 19, in audio = model.inference(wav_path, sid, f0_method=f0_method, f0_up_key=f0_up_key) onnxruntime.capi.onnxruntime_pybind11_state.InvalidArgument: [ONNXRuntimeError] : 2 : INVALID_ARGUMENT : Got invalid dimensions for input: phone for the following indices index: 2 Got: 499 Expected: 768 Please fix either the inputs/outputs or the model.

thisisjacky6 avatar Mar 16 '24 13:03 thisisjacky6