FunASR icon indicating copy to clipboard operation
FunASR copied to clipboard

/workspace/models/damo/speech_paraformer-large-vad-punc_asr_nat-zh-cn-16k-common-vocab8404-onnx is not registered

Open dong6255 opened this issue 6 months ago • 4 comments

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

❓ Questions and Help

Before asking:

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

What is your question?

docker镜像funasr:funasr-runtime-sdk-online-cpu-0.1.12中执行 python server.py --host 0.0.0.0 --port 8000 --asr_model /workspace/models/damo/speech_paraformer-large-vad-punc_asr_nat-zh-cn-16k-common-vocab8404-onnx --vad_model /workspace/models/damo/speech_fsmn_vad_zh-cn-16k-common-onnx --punc_model /workspace/models/damo/punc_ct-transformer_cn-en-common-vocab471067-large-onnx 命令时报错 AssertionError: /workspace/models/damo/speech_paraformer-large-vad-punc_asr_nat-zh-cn-16k-common-vocab8404-onnx is not registered

Image

Code

What have you tried?

What's your environment?

  • OS (e.g., Linux):ubuntu
  • 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) /funasr:funasr-runtime-sdk-online-cpu-0.1.12
  • Any other relevant information:

dong6255 avatar Jul 16 '25 07:07 dong6255

同一个问题

wenlongli10 avatar Jul 20 '25 17:07 wenlongli10

请问是怎么解决的呀

Nicorgi avatar Jul 25 '25 09:07 Nicorgi

没这个模型,用speech_seaco_paraformer_large_asr_nat-zh-cn-16k-common-vocab8404-pytorch

wenlongli10 avatar Jul 25 '25 11:07 wenlongli10

请问是怎么解决的呀

我这边发现使用下载到 容器挂载文件夹 中的模型就会报错这个,但是/root/.cache中的模型是可以使用的,我的命令是这样的 python server.py
--host 0.0.0.0
--port 8000
--asr_model /root/.cache/modelscope/hub/models/iic/speech_seaco_paraformer_large_asr_nat-zh-cn-16k-common-vocab8404-pytorch
--vad_model /root/.cache/modelscope/hub/models/iic/speech_fsmn_vad_zh-cn-16k-common-pytorch
--punc_model /root/.cache/modelscope/hub/models/iic/punc_ct-transformer_zh-cn-common-vocab272727-pytorch

dong6255 avatar Jul 28 '25 02:07 dong6255