Mukosame / Zooming-Slow-Mo-CVPR-2020

Fast and Accurate One-Stage Space-Time Video Super-Resolution (accepted in CVPR 2020)
GNU General Public License v3.0
917 stars 164 forks source link

Is there any way to solve cuda out of memory problem when input image is large? #45

Open universewill opened 4 years ago

universewill commented 4 years ago

Is there any way to solve cuda out of memory problem when input image is large? My input is about 1240x650 large. How to get around with this problem?

Mukosame commented 4 years ago

Hi @universewill , your input is really large! Although there are some tricks (see this issue) that we can try to make the network accept larger images, I'm sorry that your input would still be too large. Sorry again for I haven't presented a script supporting large image inference. If you are willing to re-write the dataloading & test function, here is a general idea about how to achieve it: