Skip to content
New issue

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

推理onnx模型的时候,需要指定采样频率吗? #2290

Open
sanwei111 opened this issue Dec 11, 2024 · 1 comment
Open

推理onnx模型的时候,需要指定采样频率吗? #2290

sanwei111 opened this issue Dec 11, 2024 · 1 comment
Labels
question Further information is requested

Comments

@sanwei111
Copy link

Notice: In order to resolve issues more efficiently, please raise issue following the template.
(注意:为了更加高效率解决您遇到的问题,请按照模板提问,补充细节)

❓ Questions and Help

图片
问题如题:在音频asr推理中需要指定采样频率fs,请问推理onnx模型的时候,需要指定采样频率吗?

Before asking:

  1. search the issues.
  2. search the docs.

What is your question?

Code

What have you tried?

What's your environment?

  • OS (e.g., Linux):
  • FunASR Version (e.g., 1.0.0):
  • ModelScope Version (e.g., 1.11.0):
  • PyTorch Version (e.g., 2.0.0):
  • How you installed funasr (pip, source):
  • Python version:
  • GPU (e.g., V100M32)
  • CUDA/cuDNN version (e.g., cuda11.7):
  • Docker version (e.g., funasr-runtime-sdk-cpu-0.4.1)
  • Any other relevant information:
@sanwei111 sanwei111 added the question Further information is requested label Dec 11, 2024
@Djraemon
Copy link
Contributor

onnx模型的内部好像指定了特定的采样率,在推理时可以不指定采样频率。举个例子,如果你执行runtime/python/onnxruntime/demo_sencevoice_small.py这个onnx模型示例的话,它的采样频率其实是在runtime/python/onnxruntime/funasr_onnx/utils/frontend.py这个文件里指定了。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants