We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hello, Thank you for sharing your awesome code! :)
I have a question about this line: latent_model_input = (latent_model_input / ((sigma**2 + 1) ** 0.5)).to(unet.dtype)
latent_model_input = (latent_model_input / ((sigma**2 + 1) ** 0.5)).to(unet.dtype)
Could you give me some explanations about the reason that "(simga**2+1)**0.5" is needed ?
Thanks.
The text was updated successfully, but these errors were encountered:
That is for normalizing the latents before passing it to the u-net, as required for k-lms. This line is not required for all the other schedulers.
Sorry, something went wrong.
No branches or pull requests
Hello,
Thank you for sharing your awesome code! :)
I have a question about this line:
latent_model_input = (latent_model_input / ((sigma**2 + 1) ** 0.5)).to(unet.dtype)
Could you give me some explanations about the reason that "(simga**2+1)**0.5" is needed ?
Thanks.
The text was updated successfully, but these errors were encountered: