Skip to content
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

连接websocket后,语音输入一段话,此时是正常的;然后不断开websocket服务,停留若干时间,再语音输入,则会报错误vad_feats's size is 0;最后如果重新建立websocket服务,则恢复正常 #2337

Open
lessuit opened this issue Dec 26, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@lessuit
Copy link

lessuit commented Dec 26, 2024

Notice: In order to resolve issues more efficiently, please raise issue following the template.
(注意:为了更加高效率解决您遇到的问题,请按照模板提问,补充细节)

🐛 Bug

连接websocket后,语音输入一段话,此时是正常的;然后不断开websocket服务,停留若干时间,再语音输入,则会报错误vad_feats's size is 0;最后如果重新建立websocket服务,则恢复正常
image

image
1.点击语音输入,连接上ws服务,输入喂喂喂,此时正常
2.松开语音输入,此时ws服务并未关闭,等待20分钟,再次输入
3.后台报错vad_feats's size is 0,前台也拿不到数据
4.如果设备重启ws服务,恢复正常

To Reproduce

Steps to reproduce the behavior (always include the command you ran):

  1. Run cmd '....'
  2. See error

Code sample

Expected behavior

Environment

  • OS (e.g., Linux):
  • FunASR Version (e.g., 1.0.0):
  • ModelScope Version (e.g., 1.11.0):
  • PyTorch Version (e.g., 2.0.0):
  • How you installed funasr (pip, source):
  • Python version:
  • GPU (e.g., V100M32)
  • CUDA/cuDNN version (e.g., cuda11.7):
  • Docker version (e.g., funasr-runtime-sdk-cpu-0.4.1)
  • Any other relevant information:

Additional context

@lessuit lessuit added the bug Something isn't working label Dec 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant