FunASR
FunASR copied to clipboard
能用AutoModel加载.onnx的模型吗
from pathlib import Path from funasr import AutoModel model = AutoModel( model=r"iic/speech_paraformer-large_asr_nat-zh-cn-16k-common-vocab8404-online-onnx" ) res = model.generate(input="{}/.cache/modelscope/hub/damo/speech_fsmn_vad_zh-pytorch/example/vad_example.wav".format(Path.home()), ) print(res)为什么执行报错 AssertionError: iic/speech_paraformer-large_asr_nat-zh-cn-16k-common-vocab8404-online-onnx is not registered, 换成不是.onnx的就不报错,