shiimizu / ComfyUI_smZNodes

Custom nodes for ComfyUI such as CLIP Text Encode++
GNU General Public License v3.0
190 stars 14 forks source link

BUG/USAGE: "BREAK" Keyword in "CLIP Text Encode++" always create female characters #31

Closed BaronFalke closed 9 months ago

BaronFalke commented 9 months ago

I am playing around with the A111 parser style of the CLIP Text Encode++. For female characters it works perfectly: image

But after changing "woman" to "man", it still delivers female characters: image

I firt thought that maybe the chunk with "man" is getting lost since the other chunks describe typical "female" stuff like "skirt". So I changed the prompt to only include hair: image

The result for "man": image

If I remove the "BREAK" keyword, then the result is as expected: image

So briefly: the keyword "BREAK" seems to always generate female characters. Is this supposed to be this way? Or am I using it wrong way? Or are there other settings which I fu*ked up? Or is it possible, that "man" is also a keyword in your custom node?

shiimizu commented 9 months ago

It depends on the model. Some models are trained more towards women. See this reddit post on U-Net overfitting.

The code I use is taken from stable-diffusion-webui and the same behaviour occurs there as well.

BaronFalke commented 9 months ago

Okay, I was just surprised since this is really all the time. I also figured out that in other cases it helps to write "male man" or "female woman" ... maybe "man" and "woman" are not supported by some models.

I will try it out with other keywords. Else I only can colorize woman ... ^^ Maybe it's an issue for huggingface?