You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
简单描述下遇到的问题,搭建成功的大佬帮忙解决下回个帖
1.搭建demos下speech_web,能进入页面但是功能不可用,启用
cd web_client
yarn dev --port 8011
一点击音频文件识别,上传.wav后,一直识别,没结果,然后报错
16:40:32 [vite] http proxy error:
Error: read ECONNRESET
at TCP.onStreamRead (node:internal/stream_base_commons:217:20)
16:42:25 [vite] http proxy error:
Error: read ECONNRESET
at TCP.onStreamRead (node:internal/stream_base_commons:217:20) (x2)
16:53:35 [vite] http proxy error:
Error: read ECONNRESET
at TCP.onStreamRead (node:internal/stream_base_commons:217:20) (x3)
2.在后端部署时报错,但是我没管,没影响页面,
cd speech_server
默认8010端口
python main.py --port 8010
报错如下:
(PaddleSpeech) D:\workspace\bzy\demovoice\PaddleSpeech-develop\demos\speech_web\speech_server>python main.py --port 8010
[nltk_data] Error loading averaged_perceptron_tagger: <urlopen error
[nltk_data] [Errno 11004] getaddrinfo failed>
[nltk_data] Error loading cmudict: <urlopen error [Errno 11004]
[nltk_data] getaddrinfo failed>
D:\workspace\syt\soft\anaconda\ana\envs\PaddleSpeech\lib\site-packages_distutils_hack_init_.py:30: UserWarning: Setuptools is replacing distutils.
warnings.warn("Setuptools is replacing distutils.")
WARNING: pip is being invoked by an old script wrapper. This will fail in a future version of pip.
Please see pypa/pip#5599 for advice on fixing the underlying issue.
To avoid this problem you can invoke Python with '-m pip' instead of running pip directly.
D:\workspace\syt\soft\anaconda\ana\envs\PaddleSpeech\lib\site-packages\pip_vendor\packaging\version.py:111: DeprecationWarning: Creating a LegacyVersion has been deprecated and will be removed in the next major release
warnings.warn(
D:\workspace\syt\soft\anaconda\ana\envs\PaddleSpeech\lib\site-packages\pip_vendor\packaging\version.py:111: DeprecationWarning: Creating a LegacyVersion has been deprecated and will be removed in the next major release
warnings.warn(
ERROR: Could not find a version that satisfies the requirement paddlespeech_ctcdecoders (from versions: none)
ERROR: No matching distribution found for paddlespeech_ctcdecoders
2022-07-23 16:33:42.124 | INFO | paddlespeech.s2t.modules.ctc::43 - paddlespeech_ctcdecoders not installed!
Traceback (most recent call last):
File "main.py", line 29, in
from src.robot import Robot
File "D:\workspace\bzy\demovoice\PaddleSpeech-develop\demos\speech_web\speech_server\src\robot.py", line 6, in
from src.SpeechBase.asr import ASR
File "D:\workspace\bzy\demovoice\PaddleSpeech-develop\demos\speech_web\speech_server\src\SpeechBase\asr.py", line 7, in
from paddlespeech.server.engine.asr.online.python.asr_engine import ASREngine
ModuleNotFoundError: No module named 'paddlespeech.server.engine.asr.online.python'
The text was updated successfully, but these errors were encountered:
简单描述下遇到的问题,搭建成功的大佬帮忙解决下回个帖
1.搭建demos下speech_web,能进入页面但是功能不可用,启用
cd web_client
yarn dev --port 8011
一点击音频文件识别,上传.wav后,一直识别,没结果,然后报错
16:40:32 [vite] http proxy error:
Error: read ECONNRESET
at TCP.onStreamRead (node:internal/stream_base_commons:217:20)
16:42:25 [vite] http proxy error:
Error: read ECONNRESET
at TCP.onStreamRead (node:internal/stream_base_commons:217:20) (x2)
16:53:35 [vite] http proxy error:
Error: read ECONNRESET
at TCP.onStreamRead (node:internal/stream_base_commons:217:20) (x3)
2.在后端部署时报错,但是我没管,没影响页面,
cd speech_server
默认8010端口
python main.py --port 8010
报错如下:
(PaddleSpeech) D:\workspace\bzy\demovoice\PaddleSpeech-develop\demos\speech_web\speech_server>python main.py --port 8010
[nltk_data] Error loading averaged_perceptron_tagger: <urlopen error
[nltk_data] [Errno 11004] getaddrinfo failed>
[nltk_data] Error loading cmudict: <urlopen error [Errno 11004]
[nltk_data] getaddrinfo failed>
D:\workspace\syt\soft\anaconda\ana\envs\PaddleSpeech\lib\site-packages_distutils_hack_init_.py:30: UserWarning: Setuptools is replacing distutils.
warnings.warn("Setuptools is replacing distutils.")
WARNING: pip is being invoked by an old script wrapper. This will fail in a future version of pip.
Please see pypa/pip#5599 for advice on fixing the underlying issue.
To avoid this problem you can invoke Python with '-m pip' instead of running pip directly.
D:\workspace\syt\soft\anaconda\ana\envs\PaddleSpeech\lib\site-packages\pip_vendor\packaging\version.py:111: DeprecationWarning: Creating a LegacyVersion has been deprecated and will be removed in the next major release
warnings.warn(
D:\workspace\syt\soft\anaconda\ana\envs\PaddleSpeech\lib\site-packages\pip_vendor\packaging\version.py:111: DeprecationWarning: Creating a LegacyVersion has been deprecated and will be removed in the next major release
warnings.warn(
ERROR: Could not find a version that satisfies the requirement paddlespeech_ctcdecoders (from versions: none)
ERROR: No matching distribution found for paddlespeech_ctcdecoders
2022-07-23 16:33:42.124 | INFO | paddlespeech.s2t.modules.ctc::43 - paddlespeech_ctcdecoders not installed!
Traceback (most recent call last):
File "main.py", line 29, in
from src.robot import Robot
File "D:\workspace\bzy\demovoice\PaddleSpeech-develop\demos\speech_web\speech_server\src\robot.py", line 6, in
from src.SpeechBase.asr import ASR
File "D:\workspace\bzy\demovoice\PaddleSpeech-develop\demos\speech_web\speech_server\src\SpeechBase\asr.py", line 7, in
from paddlespeech.server.engine.asr.online.python.asr_engine import ASREngine
ModuleNotFoundError: No module named 'paddlespeech.server.engine.asr.online.python'
The text was updated successfully, but these errors were encountered: