xinntao / Real-ESRGAN

Real-ESRGAN aims at developing Practical Algorithms for General Image/Video Restoration.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

finetuning RealESRGAN_x4plus.pth input size issue

ahsteven opened this issue · comments

It seems the input size of RealESRGAN_x4plus.pth is 1024 however if my input images are this size I get cuda out of memory. How is this supposed to work using the sub image crops?

I need to have smaller input images if I dont want to run out of gpu memory during training but the input size seems to require 1024. How to handle this?