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

使用damo/speech_paraformer-large-contextual_asr_nat-zh-cn-16k-common-vocab8404模型,运行offline_gpu服务报错 #2199

Open
gzqqqqqq opened this issue Nov 8, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@gzqqqqqq
Copy link

gzqqqqqq commented Nov 8, 2024

🐛 Bug

597D2B13-6C6E-4fb2-A8DC-DF132903E13C

使用damo/speech_paraformer-large-contextual_asr_nat-zh-cn-16k-common-vocab8404模型,运行offline_gpu服务报错

To Reproduce

1.docker pull
registry.cn-hangzhou.aliyuncs.com/funasr_repo/funasr:funasr-runtime-sdk-gpu-0.2.0
mkdir -p ./funasr-runtime-resources/models
sudo docker run --gpus=all --net=host -it --privileged=true
-v $PWD/funasr-runtime-resources/models:/workspace/models
registry.cn-hangzhou.aliyuncs.com/funasr_repo/funasr:funasr-runtime-sdk-gpu-0.2.0

2.nohup bash run_server.sh
--download-model-dir /workspace/models
--vad-dir damo/speech_fsmn_vad_zh-cn-16k-common-onnx
--model-dir damo/speech_paraformer-large-contextual_asr_nat-zh-cn-16k-common-vocab8404
--punc-dir damo/punc_ct-transformer_cn-en-common-vocab471067-large-onnx
--lm-dir damo/speech_ngram_lm_zh-cn-ai-wesp-fst
--itn-dir thuduj12/fst_itn_zh
--certfile 0
--hotword /workspace/models/hotwords.txt > log.txt 2>&1 &

3.python3 funasr_wss_client.py --host "127.0.0.1" --port 10095 --mode offline --audio_in "asr_example.wav"

报错信息:
客户端:Exception: no close frame received or sent
服务端:见附件报错图片

@gzqqqqqq gzqqqqqq added the bug Something isn't working label Nov 8, 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