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

fix EDMDiscretization sigma_min for correct sampling noise scheduling #114

Merged
merged 1 commit into from
Aug 17, 2023

Conversation

johngull
Copy link
Contributor

I found a mistake in implementing "Elucidating the Design Space of Diffusion-Based Generative Models" noise scheduling.
In the EDMDiscretization you use sigma_min=0.02, but the value used in the original paper is 0.002.

This fix may influence the final quality of the sampling process.

Vital that you DO NOT need to retrain models because of this fix. The EDMSampling contains correct sampling of sigmas during training.
image

@timudk
Copy link
Contributor

timudk commented Aug 17, 2023

Good catch, thanks @johngull

@timudk timudk merged commit 477d8b9 into Stability-AI:main Aug 17, 2023
5 of 6 checks passed
JimmyDefends added a commit to JimmyDefends/generative-models that referenced this pull request Sep 27, 2023
LinearFalcon pushed a commit to LinearFalcon/generative-models that referenced this pull request Jul 6, 2024
SevanBrodjian pushed a commit to SevanBrodjian/sd-latent-exploration that referenced this pull request Aug 12, 2024
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

Successfully merging this pull request may close these issues.

2 participants