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

Empty Latent vs Noisy Latent with Advanced KSampler #7

Closed
isben opened this issue Sep 8, 2023 · 1 comment
Closed

Empty Latent vs Noisy Latent with Advanced KSampler #7

isben opened this issue Sep 8, 2023 · 1 comment

Comments

@isben
Copy link

isben commented Sep 8, 2023

Hello @BlenderNeko,

I tried injecting noise created by your Noisy Latent Image node into a KSampler (Advanced) node and (naively?) assumed that by setting the add_noise parameter to disabled I would be able to obtain the same effect as by using an Empty Latent Image with add_noise enabled (using the same seed). This is at least what logic suggests to me. To my surprise, when add_noise is disabled, I always get the same image result, whatever Latent I use as input to the KSampler. The result seems to have no relation with what is usually generated when add_noise is enabled and remains the same if I use different seeds in the Noisy Latent Image. I checked the generated noise by decoding and previewing the Latent and it obviously varies.

The example you provide is making use of Inject Noise and KSampler (Advanced) in a manner similar to what I'm trying to achieve. Can you explain why it seems to work in one case and not the other?

@isben
Copy link
Author

isben commented Oct 24, 2023

I finally figured out the answer to my question above.
For those wondering, you need to use an Empty Latent Image and a Noisy Latent Image and combine then via a Inject Noise node together with the strength provided by a Get Sigma node. This can then be sent to a KSampler Advanced with add_noise disabled.

@isben isben closed this as completed Oct 24, 2023
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

1 participant