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

Add warning if conditioning used in a DDPM that is not configured to use it #174

Closed
marksgraham opened this issue Jan 9, 2023 · 0 comments · Fixed by #175
Closed

Add warning if conditioning used in a DDPM that is not configured to use it #174

marksgraham opened this issue Jan 9, 2023 · 0 comments · Fixed by #175

Comments

@marksgraham
Copy link
Collaborator

Currently it is possible to provide a context in the forward pass of a DDPM even if the model was initialised with with_conditioning=False. In this case the context won't be used by the model and we should raise an error, as is done when class_labels are provided and num_class_embeds=0.

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 a pull request may close this issue.

1 participant