this post was submitted on 19 Oct 2024
1 points (100.0% liked)

StableDiffusion

98 readers
1 users here now

/r/StableDiffusion is back open after the protest of Reddit killing open API access, which will bankrupt app developers, hamper moderation, and...

founded 1 year ago
MODERATORS
 
This is an automated archive made by the Lemmit Bot.

The original was posted on /r/stablediffusion by /u/lofi21345 on 2024-10-19 15:20:25+00:00.


I had been struggling with this for awhile, and I've seen others posting about this too:

Here's my example. Both images have had their levels adjusted the same amount to exaggerate the effect present in the first image

Pre-fix after 2x latent upscaling and noise injection

Same parameters and seeds, effect removed. The composition was slightly altered

I fixed this issue by modifying the block weights of the LoRA I was using. tl;dr is to reduce the influence of double block indicies 1-3, and this eliminates the effect.

The "A" parameter will be loaded into double block indicies 1-3. I've had success with values between 0-0.25. Any more than that I still had noticeable gridlines in some images

If you're running into these gridline effect issues without using LoRA's then this fix won't work for you unfortunately. I don't know if there's an equivalent extension in other UI's, but the block weight node for Comfy is in this repo:

If you are training your own loras then you can completely eliminate the effect and always have beautiful upscales by not training the blocks in question. I use these settings in Kohya:

"train_double_block_indices": "0,4-18"

I hope this helps others who may be running into the same issues.

no comments (yet)
sorted by: hot top controversial new old
there doesn't seem to be anything here