daitao / SAN

Second-order Attention Network for Single Image Super-resolution (CVPR-2019)
550 stars 106 forks source link

Memory consumption #22

Open saralpatel opened 4 years ago

saralpatel commented 4 years ago

I am observing that 24th line operation in MPNCOV.py file under the Testcode is consuming a huge amount of memory to create the tensors and to run the addition between them. For 250*100 image size, it is consuming almost 6.98 GB memory. Is there any way to reduce the memory consumption?

xiuluoNM commented 4 years ago

I also have such problem,do u find solution for this question?

nahidq commented 3 years ago

I changed the MPNCOV.py file, but still, I get out of memory.

antonelse commented 4 months ago

Same here ! In there a corrected version of the code ? Thanks