JingyunLiang / MANet

Official PyTorch code for Mutual Affine Network for Spatially Variant Kernel Estimation in Blind Image Super-Resolution (MANet, ICCV2021)
https://arxiv.org/abs/2108.05302
Apache License 2.0
168 stars 23 forks source link

CUDA out of memory #13

Open sunyclj opened 2 years ago

sunyclj commented 2 years ago

when run python test.py --opt options/test/test_stage3.yml , input size (1920,1080,3),i want to get the image of size (3840,3160,3),print "CUDA out of memory"error,Is this a normal phenomenon? image

JingyunLiang commented 2 years ago

Yes, the input is too large.

sunyclj commented 2 years ago

@JingyunLiang Thank you for your answer.if i want to get x2 result, what is the maximum input size supported?

JingyunLiang commented 2 years ago

It depends on your image size. You can try it yourself.