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

train problem #30

Open
lckdouble opened this issue Dec 29, 2019 · 8 comments
Open

train problem #30

lckdouble opened this issue Dec 29, 2019 · 8 comments

Comments

@lckdouble
Copy link

No description provided.

@lckdouble
Copy link
Author

[=====================================>................................................] Step: 19ms | Tot: 10m10s���������������������������������������� 4374/10000
| WARNING: ran out of memory
[=====================================>................................................] Step: 26ms | Tot: 10m10s���������������������������������������� 4375/10000
| WARNING: ran out of memory
[=====================================>................................................] Step: 28ms | Tot: 10m10s���������������������������������������� 4376/10000
| WARNING: ran out of memory
[=====================================>................................................] Step: 31ms | Tot: 10m10s���������������������������������������� 4377/10000
| WARNING: ran out of memory
[=====================================>................................................] Step: 28ms | Tot: 10m10s���������������������������������������� 4378/10000
| WARNING: ran out of memory
[=====================================>................................................] Step: 18ms | Tot: 10m10s���������������������������������������� 4379/10000
| WARNING: ran out of memory
[=====================================>................................................] Step: 16ms | Tot: 10m10s���������������������������������������� 4380/10000
/data1/shgpu/sh/new/ex_ab_summtxt/Global-Encoding-master/utils/misc_utils.py:13: YAMLLoadWarning: calling yaml.load() without Loader=... is deprecated, as the default Loader is unsafe. Please read https://msg.pyyaml.org/load for full details.
return AttrDict(yaml.load(open(path, 'r')))
Decaying learning rate to 9.15527e-09
Traceback (most recent call last):
File "train.py", line 322, in
main()
File "train.py", line 316, in main
print_log("Best %s score: %.2f\n" % (metric, max(params[metric])))
ValueError: max() arg is an empty sequence

@lckdouble
Copy link
Author

max()的问题我解决了一下,但是运行第一个epoch运行一段时间后,频繁出现run out of memory,最后报错,想问一下·有人遇到同样的情况吗

@lckdouble
Copy link
Author

RuntimeError: cuDNN error: CUDNN_STATUS_EXECUTION_FAILED
这个是报的错误,开始我以为是pytorch,后来改成cuda 9.0 pytorch 1.1.0,还是会出现这种问题。
我用的数据集是nlpcc,原文是经过抽取的,摘要是真实摘要,分字后放入数据集

@lckdouble
Copy link
Author

image
jian'xiao'le减小了batchsize,

@1397981186
Copy link

请问怎么解决max的问题的

@lckdouble
Copy link
Author

lckdouble commented Mar 1, 2020 via email

@kentleung1992
Copy link

max()的问题我解决了一下,但是运行第一个epoch运行一段时间后,频繁出现run out of memory,最后报错,想问一下·有人遇到同样的情况吗

求问如何解决max()这个问题,谢谢

@ghost
Copy link

ghost commented Mar 2, 2021

max()的问题我解决了一下,但是运行第一个epoch运行一段时间后,频繁出现run out of memory,最后报错,想问一下·有人遇到同样的情况吗

求问如何解决max()这个问题,谢谢

同问你解决了吗?谢谢

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

3 participants