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

镜像 funasr-runtime-sdk-online-cpu-0.1.12 使用 SenseVoice 报错 #2318

Open
lianzhehua opened this issue Dec 18, 2024 · 0 comments
Open
Labels
bug Something isn't working

Comments

@lianzhehua
Copy link

lianzhehua commented Dec 18, 2024

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

🐛 Bug

用 funasr-runtime-sdk-online-cpu-0.1.12 镜像,--model-dir 指定 SenseVoiceSmall-onnx 模型,offline results 没有办法正常输出,报错如下:

lQLPJwIwGL-oGzXNAUTNDoiwOuq-1zUqCZwHRo73IrLhAA_3720_324
E20241218 17:33:19.854435   372 paraformer.cpp:549] Non-zero status code returned while running Gather node. Name:'/embed_1/Gather' Status Message: /onnxruntime_src/include/onnxruntime/core/framework/op_kernel_context.h:42 const T* onnxruntime::OpKernelContext::Input(int) const [with T = onnxruntime::Tensor] Missing Input: textnorm

使用 paraformer-zh 是正常的。

To Reproduce

sudo docker run -p 10096:10095 -it --privileged=true \
  -v $PWD/funasr-runtime-resources/models:/workspace/models \
  registry.cn-hangzhou.aliyuncs.com/funasr_repo/funasr:funasr-runtime-sdk-online-cpu-0.1.12
cd FunASR/runtime
nohup bash run_server_2pass.sh \
  --download-model-dir /workspace/models \
  --vad-dir damo/speech_fsmn_vad_zh-cn-16k-common-onnx \
  --model-dir damo/SenseVoiceSmall-onnx  \
  --online-model-dir damo/speech_paraformer-large_asr_nat-zh-cn-16k-common-vocab8404-online-onnx  \
  --punc-dir damo/punc_ct-transformer_zh-cn-common-vad_realtime-vocab272727-onnx \
  --lm-dir damo/speech_ngram_lm_zh-cn-ai-wesp-fst \
  --itn-dir thuduj12/fst_itn_zh \
  --hotword /workspace/models/hotwords.txt > log.txt 2>&1 &
python3 funasr_wss_client.py --host "127.0.0.1" --port 10096 --mode 2pass

Code sample

Expected behavior

Environment

  • funasr-runtime-sdk-online-cpu-0.1.12
@lianzhehua lianzhehua added the bug Something isn't working label Dec 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant