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

amazing modification to k_euler resynthesizing original image in img2img! #291

Closed
1blackbar opened this issue Sep 11, 2022 · 8 comments
Closed
Labels
enhancement New feature or request

Comments

@1blackbar
Copy link

Can You actually add this to the webuit ? he made a code already and made it public
https://www.reddit.com/r/StableDiffusion/comments/xboy90/a_better_way_of_doing_img2img_by_finding_the/
Hes resynthesizing original image perfectly for editing !
Heres the code but more about it is on reddit post
https://gist.github.com/trygvebw/c71334dd127d537a15e9d59790f7f5e1
image

@oobabooga
Copy link
Contributor

oobabooga commented Sep 11, 2022

Amazing!!!

@AUTOMATIC1111
Copy link
Owner

see the scripts for initial version of this

@Guguskis
Copy link

Guguskis commented Sep 12, 2022

Could someone add instructions how to properly use this img2imgalt script? I mean like what options to select in image2image section and what configuration to tweak

@AUTOMATIC1111 AUTOMATIC1111 added the enhancement New feature or request label Sep 12, 2022
@AUTOMATIC1111
Copy link
Owner

It's in the readme.

@lcubeddu
Copy link

lcubeddu commented Sep 13, 2022

The generated image gets weirdly noisy/high contrast in the last few iterations (no matter the iteration count)
Here is an example.

Original Prompt : White duck, dark background, flat design
Img2Img Prompt : white duck, blue background, flat design
Decode CFG Scale : 0.7
Decode steps : 50

Iterations : 50
CFG Scale : 2

Original duck:
00175-606626661-White duck, dark background, flat design

During the generation:
2022-09-13 21_55_54-Window

2022-09-13 21_56_07-Window

Finished image:
00061-112180386-white duck, blue background, flat design

Using 25 iterations yields the same results: last few iterations up the contrast.
Doesn't happen with the image of the original post, i guess it's just a downside of the technique

@DavidePaglieri
Copy link

Hi, I get the following error when trying out the img2img alternative:

TypeError: expected Tensor as element 0 in argument 0, but got ScheduledPromptBatch

@Blucknote
Copy link
Contributor

Hi, I get the following error when trying out the img2img alternative:

TypeError: expected Tensor as element 0 in argument 0, but got ScheduledPromptBatch

fixed in 7fe00d0

@C43H66N12O12S2
Copy link
Collaborator

duplicate of #288

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

No branches or pull requests

8 participants