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

关于采样阶段显存爆炸问题,训练正常 #103

Open
LuoSSshuai opened this issue Sep 14, 2024 · 1 comment
Open

关于采样阶段显存爆炸问题,训练正常 #103

LuoSSshuai opened this issue Sep 14, 2024 · 1 comment

Comments

@LuoSSshuai
Copy link

image
我在deshadow文件夹训练正常,但是验证的时候就会显存爆炸,然后我更换显存更大的a800(80g显存)显卡也会爆。我在test也会发生显存爆炸的问题,如上图,请问有解决方法吗

@Algolzw
Copy link
Owner

Algolzw commented Sep 14, 2024

你的validation图像是多大的呢,一直OOM的话建议先对图像downsample一下,deshadow后再upsample回去。如果在训练中也加入这个操作作为data augmentation性能应该不会有太大差距。

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