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

唤醒模型 无法导出onnx格式模型?如何操作

Traceback (most recent call last):
File "/usr/local/lib/python3.8/dist-packages/modelscope/exporters/base.py", line 52, in from_model
exporter = build_exporter(export_cfg, task_name, kwargs)
File "/usr/local/lib/python3.8/dist-packages/modelscope/exporters/builder.py", line 20, in build_exporter
return build_from_cfg(
File "/usr/local/lib/python3.8/dist-packages/modelscope/utils/registry.py", line 198, in build_from_cfg
raise KeyError(
KeyError: 'speech_kws_fsmn_char_ctc_nearfield is not in the exporters registry group keyword-spotting. Please make sure the correct version of ModelScope library is used.'

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "export.py", line 5, in
output_files = Exporter.from_model(model).export_onnx(opset=13, output_dir='/tmp')
File "/usr/local/lib/python3.8/dist-packages/modelscope/exporters/base.py", line 54, in from_model
raise KeyError(
KeyError: "The exporting of model 'speech_kws_fsmn_char_ctc_nearfield' with task: 'keyword-spotting' is not supported currently."

展开
收起
1010841399381069 2023-08-11 13:00:07 416 0
1 条回答
写回答
取消 提交回答
  • 目前,唤醒模型的 onnx 导出功能还不支持,我们正在开发中,计划在未来版本中提供该功能。您可以关注我们的公众号或官方网站,获取最新消息。

    2023-09-26 10:53:53
    赞同 展开评论 打赏

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

热门讨论

热门文章

相关电子书

更多
低代码开发师(初级)实战教程 立即下载
冬季实战营第三期:MySQL数据库进阶实战 立即下载
阿里巴巴DevOps 最佳实践手册 立即下载