-
Notifications
You must be signed in to change notification settings - Fork 179
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
Question about variance calculation in sampling step #18
Comments
I have the same doubt, what's the reason for doing this ? |
俺也有这个疑问,方差不是应该是self.posterior_var吗 |
Have you solved the problem? Can you fill me in? |
@zoubohao Could you answer this issue? Thank you! |
In the paper DDPM, it seems that var is equal to posterior_var or betas. And I don't know why they were concatenated here? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
In
Diffusion.py
line 66,posterior_var
is calculated. Why do you usetorch.cat([self.posterior_var[1:2], self.betas[1:]])
in line 77 to extract variance instead ofposterior_var
.The text was updated successfully, but these errors were encountered: