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."
目前,唤醒模型的 onnx 导出功能还不支持,我们正在开发中,计划在未来版本中提供该功能。您可以关注我们的公众号或官方网站,获取最新消息。