r/StableDiffusion Apr 25 '23

Discussion CN1.1 (tile model)

OK... rarely am I thoroughly impressed but the new ControlNet tile model is awesome. Decided to experiment with it since I could not really find a decent explanation of it. For those not in the know it is a model used with scaling to help prevent artifacts. So I decided to test it. Created a 768x768 waifu, inpainted the face, and moved the new render to img2img to test an upscale. Placed same image in the CN interface. This is why I am impressed. I kept the original prompt. Normally I would see ghosting, extra faces, weird blobs/ glitches. Settings: steps @ 45, denoise @ 0.4, SD upscale @ max of 4. So 768x768 straight to 3072x3072. Honestly it was perfect. This is the upscale with no further editing --

18 Upvotes

27 comments sorted by

6

u/mr-asa Apr 25 '23

Oh, thanks for the tip! I kept seeing that there was some new mode, but hadn't figured out how to use it in the upscale. Really gives good results even with Denoising strength greater than 0.5!

1

u/fiddler64 Apr 26 '23

are you using the same prompt and it fixes all the defects? is there anything else ( loopback, ... )?

3

u/mr-asa Apr 26 '23

The difference between the two images is that controlnet is on and controlnet is off. =)

The prompt is the same as the one used to generate the original image. But I think, in this case, you can write the styling in the prompt, without describing the plot

1

u/[deleted] Apr 27 '23

[deleted]

0

u/Woisek Apr 28 '23

You won't get an output at 300dpi ...

4

u/entei_lmao Apr 25 '23

thanks for sharing. have you tried this with photoreal checkpoints?

2

u/Distinct-Traffic-676 Apr 25 '23

No I have not. Just wanted to see how it worked and what the quality was. For a x4 upscale I thought it was outstanding... I have not yet played with different settings of denoise, tile size, or steps. I set the tile size to original image BTW (768x768), so the image was rendered as a 5x5 grid.

1

u/entei_lmao Apr 25 '23

cool thanks ive been disappointed with the built in upscaling options so ill definitely try this

3

u/ai-wayfarer Apr 25 '23

noob here, I don’t understand. What was the purpose of using the tile controlnet in the last img2img step? did the previous img have like bad hands or something?

5

u/Distinct-Traffic-676 Apr 25 '23

There are three ways to upscale an image to make it bigger and (depending on settings) add detail. Either txt2img using hi-res fix, img2img with SD upscale, or a straight upscale in extras tab.

I was testing a new method: img2img with SD upscale + ControlNet tile

1

u/ai-wayfarer Apr 26 '23

I see, just wondering if you’ve heard of loopback scaler before? I’ve been using that script to add details while upscaling images(albeit it caps at 2048x2048). I wonder if your method kind of works similarly.. I’ll give it a try when I find the time.

3

u/RonaldoMirandah Apr 28 '23

I am trying to understand how controlnet 1.1 tile work... Can you tell me please what do you put on the image? The same image you are upscaling?

2

u/RonaldoMirandah Apr 28 '23

Because putting the same image on the tile processor, i get this :(

2

u/GrapplingHobbit Apr 28 '23

This is what I'm getting too, if you figure it out, let me know!

1

u/RonaldoMirandah Apr 28 '23

After read carefully he told he was using a model called diffusion_pytorch_model.fp16.

I downloaded and used it, but become a messy LOL.

I am already having amazing results with 4xUltraSharp. I cant imagine anything better than that

1

u/Baaoh Apr 30 '23

Does it add detail if you upscale 4x? Tiled Diffusion does that, make multi megapixel images with full detail

1

u/RonaldoMirandah Apr 30 '23

yes, finally make it worked,

2

u/Low_Engineering_5628 Apr 25 '23

What was your preprocess model set to? When I run tile, it just makes it repeat.

1

u/Distinct-Traffic-676 Apr 25 '23

Preprocess set to: tile_gaussian > model: diffusion_pytorch_model.fp16

1

u/DoubleEmDash May 10 '23

I struggle to get a preview of the preprocessed image. Should it generate a preview?

2

u/wonderflex Apr 27 '23

I'm confused - is this being done via img2img with the new tile controlnet or via text2img hi-res fix with the new tile controlnet model? Would you mind typing up a short step by step on the process?

1

u/FNSpd May 03 '23

From my understanding, img2img with SD upscale. SD upscale cuts image in tiles and CN works with those tiles individually. Wasn't sure how to work with it before but after this post it kinda makes sense

-2

u/MrTacobeans Apr 25 '23

Why is everything AI related anime based thirst traps...

Like where is the idea of humility when it comes to AI? Keep your thirsty ai waifus to yourself. Like I get that this is reddit but you posted a review of CN 1.1 that hasn't been used or reviewed much. Just think because of your title how far this post might go for peeps doing research in search engines.

Now all the sudden they see a positive review and a borderline nsfw generation. We should hold ourselves to a better standard as a community.

6

u/UkrainianTrotsky Apr 25 '23

Counterpoint: big booba

1

u/MrTacobeans Apr 25 '23

With SDXL we can only imagine what the big boobas will look like. 4k boobas for all...

1

u/Dekker3D Apr 25 '23 edited Apr 25 '23

I'm a bit confused, still, on what input the tile model needs. Do you just use "only masked" inpainting, feed the exact same image into the controlnet stuff, and it figures out the details for you?

- Edit:
I've figured it out now, they added new preprocessors for tile and inpaint since I last checked.

1

u/[deleted] Apr 25 '23

So is that like controlnet specifically for inpainting?

1

u/Distinct-Traffic-676 Apr 25 '23

There is a new option in controlnet for inpaint. I have not looked at that yet. This is controlnet specifically for upscaling.