Skip to content

Conversation

@bglick13
Copy link
Contributor

changes to DDIM scheduler to allow for v prediction training. Accompanying example script to train on butterflies dataset


variance = (beta_prod_t_prev / beta_prod_t) * (1 - alpha_prod_t / alpha_prod_t_prev)

if self.variance_type == "fixed":
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can we get this from prediction type? Why do we need variance and prediction type?

@natolambert natolambert merged commit 11362ae into huggingface:v_prediction Nov 17, 2022
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