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

modelscope-funasr下面的importError是否还要设置其他信息?

modelscope-funasr下面的importError是否还要设置其他信息?:ImportError: cannot import name 'sv_inference_launch' from 'funasr.bin' (E:\devapp\git\FunASR\funasr\bin__init__.py)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "testmodel.py", line 11, in
inference_sv_pipline = pipeline(
File "C:\Users\Acer.conda\envs\funasr\lib\site-packages\modelscope\pipelines\builder.py", line 170, in pipeline
return build_pipeline(cfg, task_name=task)
File "C:\Users\Acer.conda\envs\funasr\lib\site-packages\modelscope\pipelines\builder.py", line 65, in build_pipeline
return build_from_cfg(
File "C:\Users\Acer.conda\envs\funasr\lib\site-packages\modelscope\utils\registry.py", line 215, in build_from_cfg
raise type(e)(f'{obj_cls.name}: {e}')
ImportError: SpeakerVerificationPipeline: cannot import name 'sv_inference_launch' from 'funasr.bin'
funasr --version
Hydra 1.3.2

展开
收起
三分钟热度的鱼 2024-02-01 17:21:10 133 0
0 条回答
写回答
取消 提交回答

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

热门讨论

热门文章