开发者社区 > ModelScope模型即服务 > 语音 > 正文

“SOND说话人日志-中文-alimeeting-16k-离线-pytorch” 出错

“SOND说话人日志-中文-alimeeting-16k-离线-pytorch” 的 在线快速体验 功能用不了,提示 模型加载失败。 详细网页地址是 https://www.modelscope.cn/models/damo/speech_diarization_sond-zh-cn-alimeeting-16k-n16k4-pytorch/summary

展开
收起
游客kn66ufft5n5ee 2023-05-11 16:39:37 805 0
2 条回答
写回答
取消 提交回答
  • notebook 上面也不行啊,提示错误如下:

    ModuleNotFoundError Traceback (most recent call last) /opt/conda/lib/python3.7/site-packages/modelscope/utils/registry.py in build_from_cfg(cfg, registry, group_key, default_args) 211 else: --> 212 return obj_cls(**args) 213 except Exception as e:

    /opt/conda/lib/python3.7/site-packages/modelscope/pipelines/audio/speaker_diarization_pipeline.py in init(self, model, sv_model, sv_model_revision, **kwargs) 91 out_format=self.cmd['out_format'], ---> 92 param_dict=self.cmd['param_dict'], 93 )

    /opt/conda/lib/python3.7/site-packages/funasr/bin/diar_inference_launch.py in inference_launch(mode, **kwargs) 131 elif mode == "sond_demo": --> 132 from funasr.bin.sond_inference import inference_modelscope 133 param_dict = {

    /opt/conda/lib/python3.7/site-packages/funasr/bin/sond_inference.py in 25 from funasr.utils.cli_utils import get_commandline_args ---> 26 from funasr.tasks.diar import DiarTask 27 from funasr.tasks.asr import ASRTask

    /opt/conda/lib/python3.7/site-packages/funasr/tasks/diar.py in 25 from funasr.models.e2e_diar_sond import DiarSondModel ---> 26 from funasr.models.e2e_diar_eend_ola import DiarEENDOLAModel 27 from funasr.models.encoder.abs_encoder import AbsEncoder

    /opt/conda/lib/python3.7/site-packages/funasr/models/e2e_diar_eend_ola.py in 16 from funasr.modules.eend_ola.encoder_decoder_attractor import EncoderDecoderAttractor ---> 17 from funasr.modules.eend_ola.utils.power import generate_mapping_dict 18 from funasr.torch_utils.device_funcs import force_gatherable

    ModuleNotFoundError: No module named 'funasr.modules.eend_ola.utils'

    During handling of the above exception, another exception occurred:

    ModuleNotFoundError Traceback (most recent call last) /tmp/ipykernel_84/237661807.py in 13 model_revision="v1.0.5", 14 sv_model="damo/speech_xvector_sv-zh-cn-cnceleb-16k-spk3465-pytorch", ---> 15 sv_model_revision="v1.2.2", 16 ) 17

    /opt/conda/lib/python3.7/site-packages/modelscope/pipelines/builder.py in pipeline(task, model, preprocessor, config_file, pipeline_name, framework, device, model_revision, **kwargs) 138 cfg.preprocessor = preprocessor 139 --> 140 return build_pipeline(cfg, task_name=task) 141 142

    /opt/conda/lib/python3.7/site-packages/modelscope/pipelines/builder.py in build_pipeline(cfg, task_name, default_args) 55 """ 56 return build_from_cfg( ---> 57 cfg, PIPELINES, group_key=task_name, default_args=default_args) 58 59

    /opt/conda/lib/python3.7/site-packages/modelscope/utils/registry.py in build_from_cfg(cfg, registry, group_key, default_args) 213 except Exception as e: 214 # Normal TypeError does not print class name. --> 215 raise type(e)(f'{obj_cls.name}: {e}')

    ModuleNotFoundError: SpeakerDiarizationPipeline: No module named 'funasr.modules.eend_ola.utils'

    2023-05-12 14:35:27
    赞同 展开评论 打赏
  • 在线体验暂时还不支持,可以在notebook或者本地体验,具体文档: https://alibaba-damo-academy.github.io/FunASR/en/modelscope_pipeline/sd_pipeline.html

    欢迎加入钉钉用户群沟通您遇到的问题: https://github.com/alibaba-damo-academy/FunASR/#contact

    2023-05-11 21:42:01
    赞同 展开评论 打赏

包括语音识别、语音合成、语音唤醒、声学设计及信号处理、声纹识别、音频事件检测等多个领域

相关电子书

更多
PostgresChina2018_赖思超_PostgreSQL10_hash索引的WAL日志修改版final 立即下载
Kubernetes下日志实时采集、存储与计算实践 立即下载
日志数据采集与分析对接 立即下载