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

语音识别报错 #2567

Closed
ChayYue opened this issue Oct 21, 2022 · 3 comments
Closed

语音识别报错 #2567

ChayYue opened this issue Oct 21, 2022 · 3 comments
Assignees
Labels
S2T asr/st

Comments

@ChayYue
Copy link

ChayYue commented Oct 21, 2022

paddlespeech安装完成后快速测试语音识别报错:(执行语音合成命令正常响应)
执行:paddlespeech asr --lang zh --input zh.wav
报错:/anaconda3/envs/paddlepaddle39/lib/python3.9/site-packages/librosa/core/constantq.py:1059: DeprecationWarning: np.complex is a deprecated alias for the builtin complex. To silence this warning, use complex by itself. Doing this will not modify any behavior and is safe. If you specifically wanted the numpy scalar type, use np.complex128 here.
Deprecated in NumPy 1.20; for more details and guidance: https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations
dtype=np.complex,
TypeError: declarative() got an unexpected keyword argument 'property'(paddlepaddle39)

本地环境:ubuntu18.04+conda创建虚拟环境(python3.9)

安装参考:https://github.com/PaddlePaddle/PaddleSpeech
https://github.com/PaddlePaddle/PaddleSpeech/blob/develop/docs/source/install_cn.md

@yt605155624
Copy link
Collaborator

Duplicate of #2512

@yt605155624 yt605155624 marked this as a duplicate of #2512 Oct 21, 2022
@yt605155624 yt605155624 added the S2T asr/st label Oct 21, 2022
@JYCcx
Copy link

JYCcx commented Oct 23, 2022

aistudio 运行transfomer识别时,出现没有包的情况,paddlespeech更新到最新版也这样
1666522652423

@yt605155624
Copy link
Collaborator

@JYCcx 是 paddlespeech 不兼容升级导致的,AISTUDIO 教程这两天会修复,可以先尝试安装旧版本的 paddlespeech, 如 paddlespeech 0.1.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S2T asr/st
Projects
None yet
Development

No branches or pull requests

4 participants