-
Notifications
You must be signed in to change notification settings - Fork 282
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
What's the difference betwee sample_gs_* and sample_scaled_gs_* #136
Comments
Hi, You can read more info about the outputs here: #19, #34 tl;dr: The difference is that samples_scaled_gs uses a classifier guidance scale of 5.0, while samples_gs uses a guidance scale of 1.0. You only care about samples_scaled_gs since you're going to use high guidance scales at inference anyhow. However, If your unscaled samples look too much like your concept, that's a good sign of overfitting. Also - if you are trying to reproduce - keep in mind the paper predates Stable Diffusion and uses the original LDM. You're not going to get similar results with SD. |
Thanks! That's a good explanation! Actually I am using stable diffusion 1.5 and trying to do some experiments with it, I think SD works well. |
You can add losses inside this function: textual_inversion/ldm/models/diffusion/ddpm.py Line 1053 in 26ed44f
You'll probably have to understand how to pipe your data into that function, however. |
When I was reproducing the results for the paper, I found that files named sample_gs_* and sample_scaled_gs_* are contemporary produced.
The results for sample_scaled_gs_* are good:
However I don't know what does a samples_gs_* file means:
Therefore I want to know the difference between them.
Besides, what makes sample_scaled_gs_* that better than sample_gs_* ? Does the input image set acts as a role for producing sample_scaled_gs_* ? (for example, is the start_code for diffusion model initialized from one image from the given image set?)
The text was updated successfully, but these errors were encountered: