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

CFG is right? #22

Open
Edward0Liu opened this issue Feb 16, 2023 · 1 comment
Open

CFG is right? #22

Edward0Liu opened this issue Feb 16, 2023 · 1 comment

Comments

@Edward0Liu
Copy link

In the paper, CLASSIFIER-FREE DIFFUSION GUIDANCE, epsilont = (1 + w)epsilonθ(zt, c) - wepsilonθ(zt).
But, codes's epsilont = lerp(epsilonθ(zt), epsilonθ(zt, c), w) = (1 - w)*epsilonθ(zt) + epsilonθ(zt, c)?
Am I right? Are those two the same?
Just a issue.

@dome272
Copy link
Owner

dome272 commented Mar 25, 2023

Yea they should be the same

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

No branches or pull requests

2 participants