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

ResourceExhaustedError (see above for traceback): OOM when allocating tensor with shape[2,256,72,72] #59

Open
hbx-mm opened this issue Feb 15, 2020 · 1 comment

Comments

@hbx-mm
Copy link

hbx-mm commented Feb 15, 2020

前辈您好,看到您这样的良心代码很是激动,中文的解释和readme让我直接舍弃了别的代码,我尝试用自己数据集做一个训练,1000张图片,1个类别,我都按照你的readme做的,还担心显存不够(我的是win10环境,GTX1650,显存4G),将batchsize修改为2。可是还是出现了这个问题
微信图片_20200215164640
微信图片_20200215165731
不知道该怎么办了

@dodogoffy
Copy link

我觉得问题还是显存不够,把多尺度训练去掉,把batch_size调为1,把数据增强设为False再试试。

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