Even inference is going to be slow when working on a 20 megapixel image. That's as much work as a 1220 sample batch at 128x128 resolution.