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

安装成功了以后,运行asr报错,其他功能正常 #2626

Closed
cyd1123 opened this issue Nov 4, 2022 · 4 comments
Closed

安装成功了以后,运行asr报错,其他功能正常 #2626

cyd1123 opened this issue Nov 4, 2022 · 4 comments
Labels

Comments

@cyd1123
Copy link

cyd1123 commented Nov 4, 2022

General Question

(paddle) baker@bakertop:~/PaddleSpeech$ paddlespeech asr --lang zh --input zh.wav
/home/baker/anaconda3/envs/paddle/lib/python3.7/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,
W1104 17:15:45.559458 503005 gpu_resources.cc:61] Please NOTE: device: 0, GPU Compute Capability: 7.5, Driver API Version: 11.4, Runtime API Version: 10.2
W1104 17:15:45.559866 503005 gpu_resources.cc:91] device: 0, cuDNN Version: 8.6.
TypeError: declarative() got an unexpected keyword argument 'property'

@cyd1123
Copy link
Author

cyd1123 commented Nov 4, 2022

在启用服务时也报下面错误,其他使用命令行进行TTS,声纹提取等操作正常

(paddle) baker@bakertop:~/PaddleSpeech$ paddlespeech_server start --config_file ./demos/speech_server/conf/application.yaml
[2022-11-04 17:20:34,308] [ INFO] - start to init the engine
[2022-11-04 17:20:34,308] [ INFO] - asr : python engine.
W1104 17:20:37.169281 504710 gpu_resources.cc:61] Please NOTE: device: 0, GPU Compute Capability: 7.5, Driver API Version: 11.4, Runtime API Version: 10.2
W1104 17:20:37.169772 504710 gpu_resources.cc:91] device: 0, cuDNN Version: 8.6.
[2022-11-04 17:20:37,600] [ ERROR] - Failed to start server.
[2022-11-04 17:20:37,600] [ ERROR] - declarative() got an unexpected keyword argument 'property'

@cyd1123
Copy link
Author

cyd1123 commented Nov 4, 2022

对numpy降级后,还是报错

(paddle) baker@bakertop:~/PaddleSpeech$ paddlespeech asr --lang zh --input zh.wav
W1104 17:58:14.451303 514048 gpu_resources.cc:61] Please NOTE: device: 0, GPU Compute Capability: 7.5, Driver API Version: 11.4, Runtime API Version: 10.2
W1104 17:58:14.451769 514048 gpu_resources.cc:91] device: 0, cuDNN Version: 8.6.
TypeError: declarative() got an unexpected keyword argument 'property'

@yt605155624
Copy link
Collaborator

yt605155624 commented Nov 4, 2022

Duplicate of #2512

建议以后提交 issue 之前先在 issue 区搜一下报错看有没有类似的问题

@yt605155624 yt605155624 marked this as a duplicate of #2512 Nov 4, 2022
@cyd1123
Copy link
Author

cyd1123 commented Nov 7, 2022

非常感谢,已经解决问题

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

No branches or pull requests

2 participants