Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue with Realistic Models #3

Open
paulo-coronado opened this issue Apr 12, 2023 · 2 comments
Open

Issue with Realistic Models #3

paulo-coronado opened this issue Apr 12, 2023 · 2 comments

Comments

@paulo-coronado
Copy link

paulo-coronado commented Apr 12, 2023

Hello! I am trying to apply Cutoff to realistic models, such as RealisticVision2.0 and the tokens doesn't work as expected. Any ideas? I think it is because the model was not trained with this colored regions, so it refuses to generate as requested.

This is an image generated with the following prompt:

beautiful european model, white shirt with green tie, black shoes, blue hair, yellow eyes, pink skirt, full body shot, walking on a street

image

@BlenderNeko
Copy link
Owner

Unfortunately your mileage may vary depending on the model that you're using. After playing around with realistic vision for a bit, it seems that realistic vision appears particularly bad for this, at least when it comes to colors.

@arcusmaximus
Copy link

arcusmaximus commented Jul 15, 2023

For A1111 there's the Regional Prompter extension whose region specification by prompt feature can be used for the same goal (preventing color bleeding) but with a completely different approach. Given a prompt like

beautiful european model, tie BREAK
green, tie

it can find the area in the image that corresponds to the tie keyword and apply the green prompt just to that. It also previews the masks that it found, and lets you grow/shrink them by tweaking their threshold values.

Here's a quick one I did with, yes, RealisticVision 2.0:

tmpd_uxlzoo

So this approach seems more robust than patching embedding vectors - case in point, A1111 Cutoff gave me rather mixed results even for anime. Having looked at ComfyUI for the first time today, though, I'm not sure something similar exists there yet.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants