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

question about Vb loss #126

Open
ljw919 opened this issue Feb 1, 2024 · 1 comment
Open

question about Vb loss #126

ljw919 opened this issue Feb 1, 2024 · 1 comment

Comments

@ljw919
Copy link

ljw919 commented Feb 1, 2024

I want to perform an "Upsampling" task, so I choose the low-resolution image as the condition. While the problem is that, if I set learn_sigma = True, the _vb_terms_bpd will be calculated with model_kwargs set as None (default) in the code, does it means when calculates vb loss, I dont need to add the condition, just perform an image generation forward without condition? Sincerely looking for your answer.

@ljw919
Copy link
Author

ljw919 commented Feb 1, 2024

However, the code include model_kwargs in _vlb_terms_bpd while choose the KL loss, so i guess whether the model_kwargs is forgetten in the MSE loss (learn_sigma).

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

1 participant