开发者社区 > ModelScope模型即服务 > 自然语言处理 > 正文

我使用modelscope进行语音识别时很慢。

我的脚本是这样的
from modelscope.pipelines import pipeline
from modelscope.utils.constant import Tasks

p = pipeline('auto-speech-recognition', '/root/.cache/modelscope/hub/damo/speech_paraformer-large_asr_nat-zh-cn-16k-common-vocab8404-pytorch')
result = p('2.wav')
print(result)

经过测试发现一直卡在这里:
Check update of funasr, and it would cost few times. You may disable it by set disable_update=True in AutoModel
funasr version: 1.1.5.

如果把网络断掉就很快,好像是检测funasr更新太耗时了,怎么样可以关掉呢?

展开
收起
manpple 2024-08-14 10:54:55 65 0
0 条回答
写回答
取消 提交回答

包含命名实体识别、文本分类、分词、关系抽取、问答、推理、文本摘要、情感分析、机器翻译等多个领域

热门讨论

热门文章

相关电子书

更多
阿里云总监课第二期——IoT时代的语音交互智能 立即下载
阿里云总监课第二期——Latency Controlled-BLSTM模型在语音识别中的应用 立即下载
智能语音交互:阿里巴巴的研究与实践 立即下载