-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
Add simple variant mechanism #71
Add simple variant mechanism #71
Conversation
This is a prompt I provided:
Created variants images are very different from each other. If I remove "-v 5" parameter and run this prompt instead:
then script creates images of the same quality. Is it an expected behavior of this PR? |
Thanks for this. Is there a reason that you created an unused variants argument in the calls to img2img() and text2img()? Is this just to avoid python complaining about an unexpected argument? |
@morganavr the strength of how closely img2img follows the image is controlled by the -f or --strength flag. 1 is completely different, 0 is completely the same. the default is 0.75 which is fairly different, but you'll notice that certain features are kept in the same place, such as the nose, eyes. tweaking the strength to -f 0.5 or lower makes it closer and closer to the original image @lstein sheepishly yes - open to a better way, delete the property prior to pass? |
@Oceanswave I'm inclined to leave it be. I just got a little confused because I was looking for the variation-generating code in the simplet2i (which ain't simple any longer) and thought you'd forgotten something. The code is seriously in need of refactoring anyway, and I'm likely going to be changing how arguments are passed to the two routines. |
@Oceanswave Can you provide a usage example with correct parameters? |
@morganavr Sure -
|
@morganavr since this is pretty fun.. here's another
|
burning the pancake to get the effect is... pretty clever.. I like the smiling one with the hand |
|
This'll be fun to use, nice one. Somewhat related, but this gives me an idea for something similar but for normal, non img2img generations. A variant command that changes the CFG Scale of a generation which is using a seed. Would be kinda fun. edit: disregard, just noticed something similars been thought of in the Issues of the main project. |
Thanks for all these examples @Oceanswave |
This pr adds the following: