首页 Paddle Serving 帖子详情
PaddleSpeech-develop语音识别时出现"系统找不到指定文件问题"
收藏
快速回复
Paddle Serving 问答部署 250 0
PaddleSpeech-develop语音识别时出现"系统找不到指定文件问题"
收藏
快速回复
Paddle Serving 问答部署 250 0

D:\kzj\PaddleSpeech-develop\venv\Scripts\python.exe D:\kzj\PaddleSpeech-develop\kzj\test3.py
None
None
D:\kzj\PaddleSpeech-develop\venv\lib\site-packages\paddleaudio\_extension.py:141: UserWarning: paddleaudio C++ extension is not available. sox_io, sox_effect, kaldi raw feature is not supported!!!
warnings.warn(
D:\kzj\PaddleSpeech-develop\venv\lib\site-packages\_distutils_hack\__init__.py:33: UserWarning: Setuptools is replacing distutils.
warnings.warn("Setuptools is replacing distutils.")
2023-10-31 11:36:42.902 | INFO | paddlespeech.s2t.modules.ctc::45 - paddlespeech_ctcdecoders not installed!
2023-10-31 11:36:42.921 | INFO | paddlespeech.s2t.models.u2_st.u2_st:_init_from_config:581 - U2 Encoder type: transformer
D:\kzj\PaddleSpeech-develop\venv\lib\site-packages\paddle\fluid\dygraph\math_op_patch.py:275: UserWarning: The dtype of left and right variables are not the same, left dtype is paddle.float32, but right dtype is paddle.int64, the right dtype will convert to paddle.float32
warnings.warn(
2023-10-31 11:36:44.354 | INFO | paddlespeech.s2t.models.u2_st.u2_st:_init_from_config:596 - ASR Joint Training Weight: 0.5
None
Traceback (most recent call last):
File "D:\kzj\PaddleSpeech-develop\kzj\test3.py", line 3, in
result = st(audio_file="zh.wav")
File "D:\kzj\PaddleSpeech-develop\paddlespeech\cli\utils.py", line 328, in _warpper
return executor_func(self, *args, **kwargs)
File "D:\kzj\PaddleSpeech-develop\paddlespeech\cli\st\infer.py", line 346, in __call__
self.preprocess(audio_file, model)
File "D:\kzj\PaddleSpeech-develop\paddlespeech\cli\st\infer.py", line 206, in preprocess
fbank_extract_process = subprocess.Popen(
File "C:\Users\keith\AppData\Local\Programs\Python\Python38\lib\subprocess.py", line 853, in __init__
self._execute_child(args, executable, preexec_fn, close_fds,
File "C:\Users\keith\AppData\Local\Programs\Python\Python38\lib\subprocess.py", line 1307, in _execute_child
hp, ht, pid, tid = _winapi.CreateProcess(executable, args,
FileNotFoundError: [WinError 2] 系统找不到指定的文件。

Process finished with exit code 1

0
收藏
回复
需求/bug反馈?一键提issue告诉我们
发现bug?如果您知道修复办法,欢迎提pr直接参与建设飞桨~
在@后输入用户全名并按空格结束,可艾特全站任一用户