Spaces:
Running
on
Zero
[Bug] Large images are downscaled
I have a large image that is 7000x6492 pixels, but when I input it, with an upscaling factor of 2, I get as an output an image downscaled to 1648x1536 pixels.
I don't know if this was done on purpose or if this is a bug. If this is done on purpose to cap resource usage on the free HF space, I totally understand, but I think it would be good to precise it somewhere.
In any case, I would suggest to describe how to uncap the image size when self-hosting, because upscaling is the primary purpose of this kind of app.
This app currently uses Refiners commit a5d3c2971b84f6faa4762b1cf5a07f4f812bb1f5. In this version it resized the input image before upscaling. Recent versions do not do this anymore, so you can probably just update Refiners.
However if we update Refiners here we will probably add the resizing logic back for VRAM and performance reasons.