Negative Embeddings Matter....A LOT (A Comparison)
reddit.com/gallery/135dig5Posted May 2, 2023, 6:45 AM UTC
Posted May 2, 2023, 6:45 AM UTC
That moment when you see some of your work show up on on the subreddit š„²
(I'm the author of the bad-picture-chill negative embeddings)
Thank you for your service comrade. Your work has cost me a lot of grief...but it's pretty phenomenal for big tiddy waifu images š
[deleted]
Emerging rule for everything SD is to let these XYZ scripts show you what works and what doesn't.... then you can spend time cooking up theories & superstitions about why.
Experience just gets you to a working starting position faster, but we should always explore.
While there is a difference I wouldn't say any picture in particular is better than the others.
Interesting stuff! Thanks for sharing š
I almost always use "bad-artist" as a negative (not on civitai anymore I think). I'm curious how it would perform compared to these ones.
If you're curious, just run a prompt matrix like op did. It's very easy and takes literally seconds.
It's on huggingface... https://huggingface.co/nick-x-hacker/bad-artist
Forgive the noob question but do these keywords work out of the box or does one have to use a model/lora to get them to work?
they're Textual Inversion files from huggingface or civitai. Place them in the embeddings folder in your sd folder. Pretty sure theres a guide on Embeddings somewhere.
Those words are names of your embeddings. They are a different concept than model or lora. They go into your embeddings folder, and you can apply them like words in your prompts, usually equal to the filename.
I vastly prefer the ones without negatives.
They just make it look more like a generic sexy woman, not interesting.
In certain use cases, it's a game changer because they heavily influence the intention of the generation. As can be seen in my case, the subject isn't even the focus of my prompting. I was going for a certain dark moody cinematic dramatic look and the neg embeds either guided towards that vision or completely gatekept it.
But the focus of the images are the women.
Women aren't a requirement in prompts you know.
Ok you made me try to check my embeddings
ng_deepnegative_v1_75t|bad-artist-anime|EasyNegativeV2|bad_prompt_version2|bad-image-v2-39000|bad-artist|bad-hands-5|Unspeakable-Horrors-Composition-4v
This should be fun
Naisu. Please post back results and your subjective findings.
So far I did a run alongside a normal set of negative prompts (still waiting on the 0 prompt only embeds test)
It was basically like this in my eyes for a pretty tough prompt/pose. Results may vary in different compositions/settings, and I have personally ran all of these turned on for about a month now and still got decent results oftenish. (except for hands, that was like 1 out of 5 rate on cetus model)
ā
Thing to note, 90% of them significantly alter/distort the pose, and most of them alter the clothes as well despite being tagged for clearly. NONE of them got the desired position + clothing combination right. 0 embeddings gets really close, but the pose is slightly different, although technically correct.
Again, it's hard to make conclusive takes due to the nature of how many variables there are, and likely the results would be different with different seeds. Most of the time you would reroll images anyways to get the perfect result with the same exact prompt, whereas that's not really an option for this testing method.
Ok, only embeddings this time, so 0 negative prompts other than the embeddings
These are the combinations that contained little to no error as one would expect
What did you mean by "little to no error"? Were you talking about how the embeddings alter or distort the poses?
One day I was wondering what was wrong with my images, the model didn't seem to be working as well. Turns out some idiot forgot to put in his standard negative prompt š
Tbh it doesn't really look any better
Hmm. I have found it hard to get a person to not stare into the camera. Seems maybe these negative prompts are causing that? Or just a coincidence here?
It's about prompting. You can prompt "looking to the side" or "looking away" instead of "looking at viewer". But in cases where you want the subject to look at a certain direction but not too far away from the POV, you would add both "facing towards x" and "looking at viewer" - A good example of this is image 3. But sometimes it's just RNG.
Been following the cookie cutter negative prompt with multiple negative embeddings for months without knowing their actual effect. Really surprised with the differences. I think my personal sweet spot for general purpose might end up being badpicturechill:0.5 + easyneg:0.5. Ngdeepneg is kind of a wildcard for me due to its inconsistencies, and it'll be at 1 if I do use it. The results are phenomenal when it doesn't fuck things up tho. Btw, I know that there are a lot of defects in these images and I'm really only posting them for comparison's sake. Just feels dirty posting without photoshopping/inpainting. Also, bad_prompt_version2 isn't included in this test because I've previously tested it and it's....shit (subjective opinion of course). Creates really flat lighting and lacks texture. For the stronger version of badpicturechill (bad-picture-chill-75v), it's unusable due to oversaturation and deepfrying. Might test other neg embeds in the future.
Here's the workflow according to image order:
Fyi, I kept hi-res denoising fairly low and ignored upscaler for consistency.
Interesting comparison thank you. I really hate how badpicturechill negated many of the details of your prompt and now makes me want to scrutinize these embeddings a lot more.
Yea I've wasted a lot of time trying to brute force a certain look only to now realize that this particular embed was gatekeeping me š¢