-
Notifications
You must be signed in to change notification settings - Fork 30
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
CUDA out of memory despite having a lot of free GPU memory #10
Comments
What is the resolution of your images? And how about the total GPU memory of your device? |
Test Image Resolution: 612x408 |
A little bit odd (⊙_⊙). I tried an image with a resolution of 685x609, but it only required 2947MiB of memory. |
Thanks for pointing out the problem, let me check the code. |
Hi, you can add |
Thank you for your prompt response. I'll try the fix and let you know the update. |
Issue closed, please re-open it upon any problems 🤗 |
torch.cuda.OutOfMemoryError: CUDA out of memory. Tried to allocate 1.37 GiB. GPU .
The GPU memory is totally free and i still get this error each run?!
The text was updated successfully, but these errors were encountered: