PaddlePaddle / PaddleSpeech

Easy-to-use Speech Toolkit including Self-Supervised Learning model, SOTA/Streaming ASR with punctuation, Streaming TTS with text frontend, Speaker Verification System, End-to-End Speech Translation and Keyword Spotting. Won NAACL2022 Best Demo Award.
https://paddlespeech.readthedocs.io
Apache License 2.0
10.92k stars 1.83k forks source link

paddlespeech_server 一键部署 流式ASR报错 #3456

Open ainndejj11 opened 1 year ago

ainndejj11 commented 1 year ago

使用 paddlespeech_client asr --server_ip 127.0.0.1 --port 8090 --input input_16k.wav 可正常启用客户端推理

但是使用流式的ASR paddlespeech_client asr_online --server_ip 127.0.0.1 --port 8090 --input input_16k.wav 就会报错(服务端可正常开启)

错误信息如下: [2023-08-07 18:59:48,898] [ INFO] - asr websocket client start [2023-08-07 18:59:48,898] [ INFO] - endpoint: None [2023-08-07 18:59:48,898] [ INFO] - endpoint: ws://127.0.0.1:8090/paddlespeech/asr/streaming [2023-08-07 18:59:48,908] [ INFO] - client receive msg={"status":"ok","signal":"server_ready"} [2023-08-07 18:59:48,908] [ ERROR] - Failed to speech recognition. [2023-08-07 18:59:48,908] [ ERROR] -

请问这是什么原因呢

zxcd commented 1 year ago

这两个服务不能使用同一个端口吧

stale[bot] commented 11 months ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.