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

Out of Memory for upscale factor 2 on images 256X256 #26

Closed
NeuralBricolage opened this issue Dec 19, 2018 · 2 comments
Closed

Out of Memory for upscale factor 2 on images 256X256 #26

NeuralBricolage opened this issue Dec 19, 2018 · 2 comments

Comments

@NeuralBricolage
Copy link

I'm running on GTX 1080TI - i can upscale 2X images of 128X128 but results are quite bad - even colors are all off; but on 256X256 i'm running out of memory

python eval.py --upscale_factor=2 --model_type=DBPN --test_dataset=dset --model=models/DBPN_x2.pth

what are the GPU RAM expectations? if i add another 1080 will it solve the problem?

thank you

@alterzero
Copy link
Owner

Set flag --chop_forward to True for small memory GPU

@NeuralBricolage
Copy link
Author

NeuralBricolage commented Feb 18, 2019

--chop_forward=True is the default - and i didn't help - i'm still getting OOM - and tbh i won't consider 1080TI to be a small memory GPU

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