Skip to content

SD starts to multiply the characters on the picture

1 / 2
Not downloaded yet
Not downloaded yet

Anyone can help me please. I'm noob in StabbleDiffuson, I run a webui version in a Google Colab session. I tried few promtpst, and when I change the picture size from stock 512x512 to 1024x1024, the SD starts to multiply the characters on the picture (2 dogs/warriors/girls instead of 1). If I change the size back to 512, mostly solves he problem, but sometimes it makes then too. Here's some sample pictures with prompts:

​

cat walks on the street, tree on background, rain, 8k uhd, ultra realistic, sharp edges, mountain on backgroundSteps: 40, Sampler: Euler a, CFG scale: 7, Seed: 4224073884, Size: 1024x1024, Model hash: 7460a6fa

​

princess stand on a cliff, sunset, 4k uhd, ultra realistic, sharp edges, vivid colorSteps: 40, Sampler: LMS Karras, CFG scale: 7, Seed: 1100963177, Size: 1024x1024, Model hash: 7460a6fa

Any ideas, what I'm doing wrong?

5 points7 comments
Open on Reddit
About this post
Posted
Archived
Score
5 · 86% up
Kind
Gallery · 2 files
ID
y41squ

Author

1
posts
1
comments
2
media
View profile

7 comments

If you are using Automatic1111's webui, this is what 'highres.fix' takes care of.

15 points

And for an explanation: The model is trained and optimized for 512x512

If one increases the resolution to lets say 1024x1024, it generates 4 spearate pieces, and loses coherence between those. It is not "smart", it does not "remember" it has created one character / cat / person already.

"highres fix" creates the first steps in a lower resolution (like 512x512), then upscales to the final resolution, and then iterates several steps on the already "prepared" image. This way it can prepare one, and only one object in the beginning 512x512, and later just increase the detail on that.

10 points

Also keep in mind the high res fix currently only works with 1:1 resolutions.

4 points

Not the OP, but thanks for this, I've been using another simpler UI, time to switch I guess. :)

3 points

Others have explained what's going wrong, but there's another solution if you don't want to use a 1:1 ratio.

Simply make a smaller image to begin with, then upscale after. This allows you to increase size and resolution without running into the same problem.

4 points

You can use negative prompts like "people > 1, animals > 1". There are some posts with elaborate negative prompts that are unreasonably effective.

https://www.reddit.com/r/StableDiffusion/comments/y3vgvr/fishing_trip/ uses these

"bad anatomy, bad proportions, blurry, cloned face, deformed, disfigured, duplicate, extra arms, extra fingers, extra limbs, extra legs, fused fingers, gross proportions, long neck, malformed limbs, missing arms, missing legs, mutated hands, mutation, mutilated, morbid, out of frame, poorly drawn hands, poorly drawn face, too many fingers, ugly"

2 points

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.