How to use VAD decoding in FunASR #236
Unanswered
lingyunfly
asked this question in
Q&A
Replies: 1 comment
-
Hi, could you please give a short example to refresh timestamp cache that calling an online-mode VAD returns? "When a new request is started, you should set the param_dict = {'in_cache': dict()}" |
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
-
There are two decoding mode for VAD model(offline、 online),for more details, please refer to VAD.
If you want to decode in offline mode
If you want to decode in online mode, you should set the mode to
online
. Thestep
means the package size send each time. Theis_final
means whether it is the last package of input data. When a new request is started, you should set theparam_dict = {'in_cache': dict()}
Beta Was this translation helpful? Give feedback.
All reactions