[go: nahoru, domu]

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

报错 websocketpp.processor:4 (A message was too large) #1756

Open
dfengpo opened this issue May 25, 2024 · 5 comments
Open

报错 websocketpp.processor:4 (A message was too large) #1756

dfengpo opened this issue May 25, 2024 · 5 comments
Labels
bug Something isn't working

Comments

@dfengpo
Copy link
dfengpo commented May 25, 2024

🐛 Bug

To Reproduce

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

  1. Run cmd '....'
    我通过websocket 上传文件大小为106mb,时长为57分钟,我已经使用vad模型。我收到了报错信息:
    [error] consume error: websocketpp.processor:4 (A message was too large)
  2. See error
    image

Code sample

Expected behavior

Environment

docoker 部署包registry.cn-hangzhou.aliyuncs.com/funasr_repo/funasr:funasr-runtime-sdk-cpu-0.4.4
1,调用方式为html5,在这个网站上把https://www.funasr.com/static/offline/index.html 中的asr服务器地址改成我本地部署的地址。
2,使用这个官网示例,也是同样的报错。https://github.com/alibaba-damo-academy/FunASR/blob/main/runtime/csharp/ws-client/FunASRWSClient_Offline/WebScoketClient.cs

测试文件为链接: https://pan.baidu.com/s/1QNNNyAR1aPDhfhZP_0pjTg?pwd=zj3q 提取码: zj3q

Additional context

与这里描述的差距好大,可直接对时长为数小时音频进行识别
Paraformer-large长音频模型集成VAD、ASR、标点与时间戳功能,可直接对时长为数小时音频进行识别,并输出带标点文字与时间戳:
ASR模型:Parformer-large模型结构为非自回归语音识别模型,多个中文公开数据集上取得SOTA效果,可快速地基于ModelScope对模型进行微调定制和推理。

@dfengpo dfengpo added the bug Something isn't working label May 25, 2024
@lyblsgo
Copy link
Collaborator
lyblsgo commented May 28, 2024

直接在这上传文件,网盘我打不开

@dfengpo
Copy link
Author
dfengpo commented May 28, 2024

直接在这上传文件,网盘我打不开

不支持直接上传文件,用下面地址可以打开
http://110.41.57.176:5005/assets/wav/6.wav
@lyblsgo

@lyblsgo
Copy link
Collaborator
lyblsgo commented May 28, 2024
image 我这边拿你的音频测试,服务端是可以的,建议使用c++ 或者 python的客户端测试一下,这是官方维护的客户端

@lyblsgo
Copy link
Collaborator
lyblsgo commented May 28, 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

2 participants