FunASR icon indicating copy to clipboard operation
FunASR copied to clipboard

python fastapi进行离线文件识别报错choose a window size 400 that is [2, 0]

Open secslim opened this issue 1 year ago • 10 comments

🐛 Bug

使用FunASR/runtime/python/http/server.py文件进行离线文件识别, 服务端使用两个进程 uvicorn.run( app="fun_test:app", host=args.host, port=args.port, ssl_keyfile=args.keyfile, ssl_certfile=args.certfile, workers=2 ) 当两个用户同时访问,报如下错误 choose a window size 400 that is [2, 0]

Environment

  • OS : Linux
  • FunASR Version : 1.1.5
  • PyTorch Version : 2.3.1

secslim avatar Aug 12 '24 12:08 secslim