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
Traceback (most recent call last):
File "/home/isoface/chatgpt/gpt_bot/voice_tts_service/voice_tts_service.dist/modelscope/utils/registry.py", line 210, in build_from_cfg
return obj_cls._instantiate(**args)
File "/home/isoface/chatgpt/gpt_bot/voice_tts_service/voice_tts_service.dist/modelscope/models/base/base_model.py", line 67, in _instantiate
return cls(**kwargs)
File "/home/isoface/chatgpt/gpt_bot/voice_tts_service/voice_tts_service.dist/modelscope/models/audio/funasr/model.py", line 55, in __init__
self.model = AutoModel(model=model_dir, **kwargs)
File "/home/isoface/chatgpt/gpt_bot/voice_tts_service/voice_tts_service.dist/funasr/auto/auto_model.py", line 124, in __init__
model, kwargs = self.build_model(**kwargs)
File "/home/isoface/chatgpt/gpt_bot/voice_tts_service/voice_tts_service.dist/funasr/auto/auto_model.py", line 218, in build_model
assert model_class is not None, f'{kwargs["model"]} is not registered'
AssertionError: ContextualParaformer is not registered
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/isoface/chatgpt/gpt_bot/voice_tts_service/voice_tts_service.dist/modelscope/utils/registry.py", line 212, in build_from_cfg
return obj_cls(**args)
File "/home/isoface/chatgpt/gpt_bot/voice_tts_service/voice_tts_service.dist/modelscope/pipelines/audio/funasr_pipeline.py", line 62, in __init__
super().__init__(model=model, **kwargs)
File "/home/isoface/chatgpt/gpt_bot/voice_tts_service/voice_tts_service.dist/modelscope/pipelines/base.py", line 100, in __init__
self.model = self.initiate_single_model(model, **kwargs)
File "/home/isoface/chatgpt/gpt_bot/voice_tts_service/voice_tts_service.dist/modelscope/pipelines/base.py", line 53, in initiate_single_model
return Model.from_pretrained(
File "/home/isoface/chatgpt/gpt_bot/voice_tts_service/voice_tts_service.dist/modelscope/models/base/base_model.py", line 183, in from_pretrained
model = build_model(model_cfg, task_name=task_name)
File "/home/isoface/chatgpt/gpt_bot/voice_tts_service/voice_tts_service.dist/modelscope/models/builder.py", line 35, in build_model
model = build_from_cfg(
File "/home/isoface/chatgpt/gpt_bot/voice_tts_service/voice_tts_service.dist/modelscope/utils/registry.py", line 215, in build_from_cfg
raise type(e)(f'{obj_cls.__name__}: {e}')
AssertionError: GenericFunASR: ContextualParaformer is not registered
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/isoface/chatgpt/gpt_bot/voice_tts_service/voice_tts_service.dist/voice_tts_service.py", line 49, in <module>
File "/home/isoface/chatgpt/gpt_bot/voice_tts_service/voice_tts_service.dist/modelscope/pipelines/builder.py", line 170, in pipeline
return build_pipeline(cfg, task_name=task)
File "/home/isoface/chatgpt/gpt_bot/voice_tts_service/voice_tts_service.dist/modelscope/pipelines/builder.py", line 65, in build_pipeline
return build_from_cfg(
File "/home/isoface/chatgpt/gpt_bot/voice_tts_service/voice_tts_service.dist/modelscope/utils/registry.py", line 215, in build_from_cfg
raise type(e)(f'{obj_cls.__name__}: {e}')
AssertionError: FunASRPipeline: GenericFunASR: ContextualParaformer is not registered
Notice: In order to resolve issues more efficiently, please raise issue following the template.
(注意:为了更加高效率解决您遇到的问题,请按照模板提问,补充细节)
❓ Questions and Help
代码在python环节中运行没有问题,我使用nuitka 打包了包含有funasr的程序,编译完成后,我自行导入了部分缺失的组件,在运行编译完成的程序时出现以下错误提示。请问我是缺失了什么必要的组件吗?
Before asking:
What is your question?
Code
What have you tried?
What's your environment?
OS (Debian 12):
Python Packages:
How you installed funasr (
pip
):Python version: 3.8.19
The text was updated successfully, but these errors were encountered: