You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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的就不报错,
The text was updated successfully, but these errors were encountered:
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的就不报错,
The text was updated successfully, but these errors were encountered: