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 in computing z in gmvae.py #8

Open
shaojinding opened this issue Feb 26, 2019 · 1 comment
Open

Question in computing z in gmvae.py #8

shaojinding opened this issue Feb 26, 2019 · 1 comment

Comments

@shaojinding
Copy link

shaojinding commented Feb 26, 2019

Hi Ruishu,

Thanks for your post and the code. I had a question in gmvae.py. I was wondering why you initialize y as y = tf.add(y_, Constant(np.eye(10)[i], name='hot_at_{:d}'.format(i))) and use this y in z[i], zm[i], zv[i] = qz_graph(xb, y), instead of using the recognized qy qy_logit, qy = qy_graph(xb)? Any rationale behind it?

@JerryPeng21cuhk
Copy link

qy is a distribution, y is an observation.

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