Gyarg / sd_inpaint_upscale

An SD upscale script made to work with an inpainting model. Supports tiling.
MIT License
11 stars 0 forks source link

Upscale and maintain tile properties #1

Open askaliuk opened 1 year ago

askaliuk commented 1 year ago

Hi Gyarg,

Thank you very much for sharing this amazing script. I'm trying to use it to upscale a image and maintain tiling properties (top and bottom parts).

Here is my image:

Here is the image

My steps:

Final image has broken tile properties. Can't be tiled using top and bottom. What do I do wrong? May be use different upscaler?

Gyarg commented 1 year ago

Sorry for the late response, not sure how I missed this.

I think it may be because the image width is too small. If that is the case, using a lower tile size or upscaling it more beforehand should work.

Trying it myself by upscaling twice first, I got this, which still has some problems: 00136-1695586467-space

In light of that, I've added a setting to change edge denoising. Increasing that from .2 to .4 I got: 00137-1695586502-space

zhanghongyong123456 commented 1 year ago

Sorry for the late response, not sure how I missed this.

I think it may be because the image width is too small. If that is the case, using a lower tile size or upscaling it more beforehand should work.

Trying it myself by upscaling twice first, I got this, which still has some problems: 00136-1695586467-space

In light of that, I've added a setting to change edge denoising. Increasing that from .2 to .4 I got: 00137-1695586502-space

I installed it, but I did not find this plug-in in UI, nor did I restart it. Did he select it in the Script box? I want to use this plug-in to enlarge the image and then repair the details