-
Notifications
You must be signed in to change notification settings - Fork 113
New issue
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
stream推理运行时间久后就很难唤醒 #156
Comments
我之前好像也遇到过这个问题,我当时是将ctc_prefix_beam_search中if not math.isclose(pnb, 0.0, abs_tol=0.000001)和if not math.isclose(pb, 0.0, abs_tol=0.000001)这两个if判断条件注释掉。 |
看起来是 reset() 没有被调用(实际应该是有一个外部 vad 来触发 reset 的),导致积累的历史解码信息太多出错。
|
老哥,这里能详细说一下吗,我有点不太明白。 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
将 stream_kws_ctc.py 代码中的 decode_keywords 函数做出如下修改:
也就是添加了如下两行:
if cur_hyps == []: cur_hyps = [(tuple(), (1.0, 0.0, []))]
The text was updated successfully, but these errors were encountered: