修复funasr加载离线模型bug #2311
Closed
XiHenSuper
started this conversation in
Ideas
Replies: 1 comment
-
检查一下你的网络吧,或者看看文档吧。为什么不去:model="/root/funasr/models/iic/speech_paraformer-large_asr_nat-zh-cn-16k-common-vocab8404-online" |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
按照funasr1.2.0源码python38\Lib\site-packages\funasr\download\download_model_from_hub.py第45行,加载离线模型需要定义model_path,但是定义后出现报错:
AssertionError: paraformer-zh-streaming is not registered
,排查发现model_or_path未正确定义,需要在funasr1.2.0源码python38\Lib\site-packages\funasr\download\download_model_from_hub.py第45行后面新增一行:model_or_path = kwargs["model_path"]
希望社区考虑一下更新一下吧。
Beta Was this translation helpful? Give feedback.
All reactions