You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I shoveled all the code and figured out how to implement something on the step. The problem is that I can't figure out how to send the modified image array back to the pipeline and continue the steps already processing this image.
For now, I settled on the fact that I need to overload the sd_samplers.store_latent () method to call the code every n steps.
Other than that, I noticed that this part does pretty much what I want:
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hello! I'm trying to implement a custom script that every n steps will have to overlay a copy of the image on itself. Something like this:
I shoveled all the code and figured out how to implement something on the step. The problem is that I can't figure out how to send the modified image array back to the pipeline and continue the steps already processing this image.
For now, I settled on the fact that I need to overload the sd_samplers.store_latent () method to call the code every n steps.
Other than that, I noticed that this part does pretty much what I want:
stable-diffusion-webui/modules/processing.py
Line 549 in e72adc9
Please point me in the right direction, because right now I'm rushing from one to the other, but I don't have a clear plan of action.
Beta Was this translation helpful? Give feedback.
All reactions