We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Notice: In order to resolve issues more efficiently, please raise issue following the template. (注意:为了更加高效率解决您遇到的问题,请按照模板提问,补充细节)
SenseVoice模型在funasr-1.2.0版本下,加入参数output_timestamp=True后某些音频推理报错。
加入参数output_timestamp=True后这条音频推理报错
from funasr import AutoModel model = AutoModel(model="/models/SenseVoiceSmall", punc_model="/models/punc_ct-transformer_zh-cn-common-vocab272727-pytorch", vad_model="/models/speech_fsmn_vad_zh-cn-16k-common-pytorch", vad_kwargs={"max_single_segment_time": 30000}, disable_update=True, device="cuda:0") res = model.generate( input="asr_speaker_demo", cache={}, language="auto", # "zn", "en", "yue", "ja", "ko", "nospeech" use_itn=True, output_timestamp=True, return_raw_text=True, ) print(res)
asr_speaker_demo.zip
pip
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Notice: In order to resolve issues more efficiently, please raise issue following the template.
(注意:为了更加高效率解决您遇到的问题,请按照模板提问,补充细节)
❓ Questions and Help
SenseVoice模型在funasr-1.2.0版本下,加入参数output_timestamp=True后某些音频推理报错。
Before asking:
What is your question?
加入参数output_timestamp=True后这条音频推理报错
Code
asr_speaker_demo.zip
What have you tried?
What's your environment?
pip
, source):pipThe text was updated successfully, but these errors were encountered: