Skip to content

语音识别报错 #2567

@ChayYue

Description

@ChayYue

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

Metadata

Metadata

Assignees

Labels

S2Tasr/st

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions