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

log_var_q in gaussian_1 setting #6

Open
nimia opened this issue Jul 10, 2024 · 0 comments
Open

log_var_q in gaussian_1 setting #6

nimia opened this issue Jul 10, 2024 · 0 comments

Comments

@nimia
Copy link

nimia commented Jul 10, 2024

Hi, thank you for a wonderful work!

I'm trying to understand the code and how it relates to the paper.
In https://github.com/sony/sqvae/blob/main/vision/model.py#L62, we have (essentially):
log_var_q = 0
Then, in line 73, we have:
self.param_q = (log_var_q.exp() + self.log_param_q_scalar.exp())
so essentially:
param_q = 1 + e**log_param_q_scalar

Could you please explain what is the purpose of adding 1 to param_q here?
(Is it possible that the intent was to multiply, not add, log_var_q.exp() and self.log_param_q_scalar.exp() in line 73?)

thanks again, this is a wonderful, wonderful paper!
best wishes,
Nimrod

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