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
Notice: In order to resolve issues more efficiently, please raise issue following the template.
(注意:为了更加高效率解决您遇到的问题,请按照模板提问,补充细节)
🐛 Bug
paraformer-en与vad联合使用时报错result中没有'timestamp'字段
To Reproduce
Steps to reproduce the behavior (always include the command you ran):
Run cmd '....'
See error
KeyError (note: full exception trace is shown but execution is paused at: _run_module_as_main)
'timestamp'
File "/opt/conda/lib/python3.10/site-packages/funasr/auto/auto_model.py", line 458, in inference_with_vad
result['timestamp'],
File "/opt/conda/lib/python3.10/site-packages/funasr/auto/auto_model.py", line 232, in generate
return self.inference_with_vad(input, input_len=input_len, **cfg)
File "/workspace/insurance-text-data/test.py", line 11, in
res = model.generate(input='asr_example_en.wav') # 文档说只支持wav
File "/opt/conda/lib/python3.10/runpy.py", line 86, in _run_code
exec(code, run_globals)
File "/opt/conda/lib/python3.10/runpy.py", line 196, in _run_module_as_main (Current frame)
return _run_code(code, main_globals, None,
KeyError: 'timestamp'
Notice: In order to resolve issues more efficiently, please raise issue following the template.
(注意:为了更加高效率解决您遇到的问题,请按照模板提问,补充细节)
🐛 Bug
paraformer-en与vad联合使用时报错result中没有'timestamp'字段
To Reproduce
Steps to reproduce the behavior (always include the command you ran):
KeyError (note: full exception trace is shown but execution is paused at: _run_module_as_main)
'timestamp'
File "/opt/conda/lib/python3.10/site-packages/funasr/auto/auto_model.py", line 458, in inference_with_vad
result['timestamp'],
File "/opt/conda/lib/python3.10/site-packages/funasr/auto/auto_model.py", line 232, in generate
return self.inference_with_vad(input, input_len=input_len, **cfg)
File "/workspace/insurance-text-data/test.py", line 11, in
res = model.generate(input='asr_example_en.wav') # 文档说只支持wav
File "/opt/conda/lib/python3.10/runpy.py", line 86, in _run_code
exec(code, run_globals)
File "/opt/conda/lib/python3.10/runpy.py", line 196, in _run_module_as_main (Current frame)
return _run_code(code, main_globals, None,
KeyError: 'timestamp'
Code sample
Expected behavior
Environment
pip
, source): pipAdditional context
The text was updated successfully, but these errors were encountered: