adetailer icon indicating copy to clipboard operation
adetailer copied to clipboard

Does not work with HiRes Fix if not inpainting at full resolution

Open williamkmlau opened this issue 1 year ago • 3 comments

AD works fine with HiRes fix if "Inpaint at full resolution" is checked.

But if "Inpaint at full resolution" is unchecked, the original low res image (before hi res fix is applied) is returned as final result

AD Preview Img (1024 x 1360)

00070-2632610465-ad-preview

AD Before Img (1024 x 1360)

00071-2632610465-ad-before

Final Img (512 x 680)

00072-2632610465

williamkmlau avatar May 08 '23 17:05 williamkmlau

If you don't use Inpaint at full resolution, it will resize to the input resolution, or if you use use separate width/height, it will resize to that resolution and then inpaint. Your image is not the image before the hires fix, but a resized version of that image. I was aware of this issue, but it's my fault for not explaining the usage properly, my apologies.

Bing-su avatar May 09 '23 12:05 Bing-su

If you don't use Inpaint at full resolution, it will resize to the input resolution, or if you use use separate width/height, it will resize to that resolution and then inpaint. Your image is not the image before the hires fix, but a resized version of that image. I was aware of this issue, but it's my fault for not explaining the usage properly, my apologies.

But use separate width/height limits to 1024x1024 max, which makes most cases in Hi Res fix unusable

williamkmlau avatar May 10 '23 17:05 williamkmlau

You can adjust that value by modifying your ui-config.json file.

Bing-su avatar May 10 '23 22:05 Bing-su