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

Error in enhancing this image: CUDA out of memory. #39

Closed
idanka opened this issue Oct 2, 2020 · 4 comments
Closed

Error in enhancing this image: CUDA out of memory. #39

idanka opened this issue Oct 2, 2020 · 4 comments

Comments

@idanka
Copy link

idanka commented Oct 2, 2020

Hi!
Step 3
Restoring test1.jpg
################ Error in enhancing this image: CUDA out of memory. Tried to allocate 758.00 MiB (GPU 0; 3.81 GiB total capacity; 2.10 GiB already allocated; 46.31 MiB free; 2.33 GiB reserved in total by PyTorch)
################ continue...
Step 4
error
missing image, Step4_FinalResults map empty

Im use Ubuntu 20.04
GeForce GTX 1650 / 4GB
Ubuntu default install: cuda 10.1 and libcudnn8_8.0.4.30-1+cuda10.1_amd64

2020-10-03 01-20-10

@csxmli2016
Copy link
Owner

Hi!
Step 3
Restoring test1.jpg
################ Error in enhancing this image: CUDA out of memory. Tried to allocate 758.00 MiB (GPU 0; 3.81 GiB total capacity; 2.10 GiB already allocated; 46.31 MiB free; 2.33 GiB reserved in total by PyTorch)
################ continue...
Step 4
error
missing image, Step4_FinalResults map empty

Im use Ubuntu 20.04
GeForce GTX 1650 / 4GB
Ubuntu default install: cuda 10.1 and libcudnn8_8.0.4.30-1+cuda10.1_amd64

2020-10-03 01-20-10

Hi, this is caused by the limited cuda memory. You can use cpu instead of gpu.
Besides, you can also use the colab (pls refer to #17 (comment))

@alessiapacca
Copy link

I have a GEFORCE RTX 2070, how is it possible that I get the error CUDA out of memory? Which GPUs are supported?

@ivellios1988
Copy link

Exactly same problem here. My GPU is Nvidia GeForce 940MX, system is Windows 10 x64

@mowshon
Copy link

mowshon commented Oct 17, 2020

@csxmli2016 what kind of RTX do you have?
I have RTX 2070 Super 8GB and I got this error:

Error in enhancing this image: CUDA out of memory. Tried to allocate 758.00 MiB
(GPU 0; 7.79 GiB total capacity; 5.26 GiB already allocated;
483.88 MiB free; 5.73 GiB reserved in total by PyTorch)

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

5 participants