Skip to content

V prediction ddim#1313

Merged
natolambert merged 19 commits intohuggingface:v_predictionfrom
bglick13:v_prediction_ddim
Nov 17, 2022
Merged

V prediction ddim#1313
natolambert merged 19 commits intohuggingface:v_predictionfrom
bglick13:v_prediction_ddim

Conversation

@bglick13
Copy link
Copy Markdown
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
Copy Markdown
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