-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Classifier free guidance for prior model #285
Comments
@macrohuang1993 Hello, have you found the reason? I have the same question. Thanks |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello everyone,
For the "DiffusionPriorNetwork" "forward_with_cond_scale" method:
null_logits = self.forward(*args, text_cond_drop_prob = 1., image_cond_drop_prob = 1, **kwargs)
Could someone explain why we also drop the image_embed via image_cond_drop_prob? I think "image_embed" should be kept even in the unconditional generation since that is the noisy CLIP image embedding, and the classifier free guidance should only drop the text_condition part for calculating null_logits.
Thanks!
The text was updated successfully, but these errors were encountered: