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

What is the role of WU #2

Open
zhanglei1172 opened this issue May 19, 2022 · 0 comments
Open

What is the role of WU #2

zhanglei1172 opened this issue May 19, 2022 · 0 comments

Comments

@zhanglei1172
Copy link

Hello, I have two doubts reading your code. 1. what is the variable WU in the VAE code? I noticed that it is assigned by warmup and will increase from 0 to 1 as the epoch increases. Means that the weight of the likelihood gradually decreases with training? Is there any consideration behind this?

SIVI/SIVAE.py

Line 126 in c457d09

loss_iw0 = -tf.reduce_logsumexp(log_lik_iw+(log_prior_iw-log_H_iw)*WU,1)+tf.log(tf.cast(K,tf.float32))

2.One more question about this loss, I noticed that there is a batch count multiplier missing. Is that right?
image

Thanks!

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