Closed qx220 closed 7 months ago
After testing, it seems like that the issue is on the specific model iic/speech_paraformer-large-vad-punc_asr_nat-zh-cn-16k-common-vocab8404-pytorch
有人解决了吗,我应该如何修改呢?
有人解决了吗,我应该如何修改呢?
加上vad这些模型的kwargs就可以,目前我是用这个workaround:
model = AutoModel(
task=Tasks.auto_speech_recognition,
model = 'iic/speech_seaco_paraformer_large_asr_nat-zh-cn-16k-common-vocab8404-pytorch',
model_revision="v2.0.4",
vad_model='iic/speech_fsmn_vad_zh-cn-16k-common-pytorch', vad_model_revision="v2.0.4",
punc_model='iic/punc_ct-transformer_zh-cn-common-vocab272727-pytorch', punc_model_revision="v2.0.4",
)
'NoneType' object is not callable
一直报错,真是搞不明白了
🐛 Bug
When running the the app containing the following code (directly copied from https://modelscope.cn/models/iic/speech_paraformer-large-vad-punc_asr_nat-zh-cn-16k-common-vocab8404-pytorch/summary)
the current version of funasr produces the following error
To Reproduce
Steps to reproduce the behavior (always include the command you ran):
Run the following code:
Code sample
Expected behavior
Environment
pip
, source): pipAdditional context