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

运行本地预测没有输出 #167

Open
Xjorker opened this issue Apr 20, 2024 · 6 comments
Open

运行本地预测没有输出 #167

Xjorker opened this issue Apr 20, 2024 · 6 comments

Comments

@Xjorker
Copy link

Xjorker commented Apr 20, 2024

D:\anaconda\envs\py37\lib\site-packages\librosa\core\constantq.py:1058: 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,
----------- Configuration Arguments -----------
alpha: 1.2
beam_size: 10
beta: 0.35
cutoff_prob: 1
cutoff_top_n: 40
decoding_method: ctc_greedy
enable_mkldnn: False
is_long_audio: False
lang_model_path: ./lm/zh_giga.no_cna_cmn.prune01244.klm
mean_std_path: ./dataset/mean_std.npz
model_dir: ./models/infer/
to_an: True
use_gpu: True
vocab_path: ./dataset/zh_vocab.txt
wav_path: ./dataset/test.wav

我的环境是:
win11
cuda 10.2
cudnn7.6.5
paddlepaddle-gpu2.3.2
已经导出模型
请问本地预测为什么没有输出啊?

@Xjorker
Copy link
Author

Xjorker commented Apr 21, 2024

D:\anaconda\envs\py37\lib\site-packages\paddle\fluid\framework.py:6299: UserWarning: Skip loading for 'gru_5.b_0_beta2_pow_acc_0'. Because 'gru_5.b_0_beta2_pow_acc_0' not in the program.
format(name)))
D:\anaconda\envs\py37\lib\site-packages\paddle\fluid\framework.py:6299: UserWarning: Skip loading for 'gru_5.w_0_moment1_0'. Because 'gru_5.w_0_moment1_0' not in the program.
format(name)))
D:\anaconda\envs\py37\lib\site-packages\paddle\fluid\framework.py:6299: UserWarning: Skip loading for 'gru_5.w_0_moment2_0'. Because 'gru_5.w_0_moment2_0' not in the program.
format(name)))
D:\anaconda\envs\py37\lib\site-packages\paddle\fluid\framework.py:6299: UserWarning: Skip loading for 'gru_5.w_0_beta1_pow_acc_0'. Because 'gru_5.w_0_beta1_pow_acc_0' not in the program.
format(name)))
D:\anaconda\envs\py37\lib\site-packages\paddle\fluid\framework.py:6299: UserWarning: Skip loading for 'gru_5.w_0_beta2_pow_acc_0'. Because 'gru_5.w_0_beta2_pow_acc_0' not in the program.
format(name)))
D:\anaconda\envs\py37\lib\site-packages\paddle\fluid\framework.py:6299: UserWarning: Skip loading for 'learning_rate_0'. Because 'learning_rate_0' not in the program.
format(name)))
[2024-04-21 11:34:40.411316] 成功加载模型:./models/param/50.pdparams
成功导出模型,模型保存在:./models/infer/
模型导出的时候也是有很多userwarning,感觉是模型导出有问题?

@yeyupiaoling
Copy link
Owner

警告不一定是错误,如果配置文件和加载的模型没有问题,一般不会有问题的。

@Xjorker
Copy link
Author

Xjorker commented Apr 21, 2024

警告不一定是错误,如果配置文件和加载的模型没有问题,一般不会有问题的。

你好,我用的是文档提供的数据集,但是预测没有输出

@yeyupiaoling
Copy link
Owner

yeyupiaoling commented Apr 21, 2024 via email

@Xjorker
Copy link
Author

Xjorker commented Apr 21, 2024

有没有报什么错误或者输出的什么?
image
这就是s输出了

@yeyupiaoling
Copy link
Owner

@Xjorker 那应该是你的模型没有训练好,

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

No branches or pull requests

2 participants