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

你好,请问是修改了什么地方解决了OOM问题呢 #10

Closed
lfxx opened this issue Feb 8, 2021 · 4 comments
Closed

你好,请问是修改了什么地方解决了OOM问题呢 #10

lfxx opened this issue Feb 8, 2021 · 4 comments

Comments

@lfxx
Copy link

lfxx commented Feb 8, 2021

显存一直飙升,到最后就会出错

@yeyupiaoling
Copy link
Owner

yeyupiaoling commented Feb 8, 2021 via email

@lfxx
Copy link
Author

lfxx commented Feb 8, 2021

原项目音频数据是从短到长排序的,所以后面训练的音频长度会越来越长,所以就出现了占用显存越来越大的情况。我这个项目是倒过来的,是音频长度是从长到短的,所以一开始训练不通过,你就设置更小的音频长度。参数里面可以设置的。

---原始邮件--- 发件人: "高峰"<notifications@github.com> 发送时间: 2021年2月8日(周一) 晚上6:10 收件人: "yeyupiaoling/PaddlePaddle-DeepSpeech"<PaddlePaddle-DeepSpeech@noreply.github.com>; 抄送: "Subscribed"<subscribed@noreply.github.com>; 主题: [yeyupiaoling/PaddlePaddle-DeepSpeech] 你好,请问是修改了什么地方解决了OOM问题呢 (#10) 显存一直飙升,到最后就会出错 — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or unsubscribe.

就是说单纯降低batch_size是没用的吗,需要降低音频长度。另外想知道num_samples参数是根据什么设置的呢,默认是12W

@yeyupiaoling
Copy link
Owner

yeyupiaoling commented Feb 8, 2021 via email

@lfxx
Copy link
Author

lfxx commented Feb 9, 2021

好的,非常感谢!

@lfxx lfxx closed this as completed Feb 9, 2021
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