Init_Image like this...? / Suggestions for a better way? #100
Closed
drscotthawley
started this conversation in
Ideas
Replies: 3 comments
-
Ahhh wait, I should use the the callback... Ok.
Will close soon, once I figure out how to use this properly. ;-) |
Beta Was this translation helpful? Give feedback.
0 replies
-
Nope, I'm confused. My method worked in simple cases but for others the images just become all-black. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Got it. :-) Closing. I'll put some deets in a paper soon. :-) |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
If we want to do init images / inpainting, is the following crude & ham-handed implementation sufficient (I mean, it works), or is there a more elegant solution?
Assuming we add extra args for "init_image" [-1...1] and an init_strength mask [0..1]:
(in
sampling.py
)I found I had to do the
modified_extra_args
thing because the denoiser wasn't expecting those extra args.The fact that this would mean editing every single sampling algorithm seems ...not good... but sufficient for my messing-around today.
Would love suggestions! Thanks.
Beta Was this translation helpful? Give feedback.
All reactions