We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
你好,我集成了libsvc至我的工程中,但在使用NativeAPI.h提供的接口进行推理时,遇到了一个棘手的问题,请问能否帮忙解答一下呢?
The text was updated successfully, but these errors were encountered:
No branches or pull requests
你好,我集成了libsvc至我的工程中,但在使用NativeAPI.h提供的接口进行推理时,遇到了一个棘手的问题,请问能否帮忙解答一下呢?
但是在使用LibSvcInferSlice接口时,发现pcm的输入和输出无法应对上。
跟进函数内部后,发现推理前会先进行hubert推理,此时得到的hubert输出大小与我预期的onnx-rvc模型的pcm输入个数也有出入。
即便我调整hubert输入大小,使得hubert输出大小刚好匹配上 ,使之能够得到finaOut时,却发现finaOut固定输出大小为20000,即便最后通过采样率计算resize之后,也与我实际的输入pcm个数不匹配。最终导致我输出的音频播放要么断断续续,要么声音不正确。
请问,我该如何确保LibSvcInferSlice接口的输入大小与输出大小匹配呢?
The text was updated successfully, but these errors were encountered: