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

RuntimeError: CUDA out of memory. #23

Open
chen9run opened this issue Apr 25, 2023 · 1 comment
Open

RuntimeError: CUDA out of memory. #23

chen9run opened this issue Apr 25, 2023 · 1 comment

Comments

@chen9run
Copy link

你好,我在epoch0加载到67%时报错内存不足,可以给出点见解嘛,我使用的是两张2080ti,batch_size=1,TRAIN_IMG_SIZE=640.

RuntimeError: CUDA out of memory. Tried to allocate 314.00 MiB (GPU 1; 10.76 GiB total capacity; 8.53 GiB already allocated; 179.44 MiB free; 9.46 GiB reserved in total by PyTorch)

@Tangshitao
Copy link
Owner

减少image size试下

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