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

Add context to VAE-IAF #57

Draft
wants to merge 10 commits into
base: main
Choose a base branch
from
Draft

Add context to VAE-IAF #57

wants to merge 10 commits into from

Conversation

clementchadebec
Copy link
Owner

New features

  • Add the possibility to add a context vector h to MADE. This is made to fit to Fig.2 in https://arxiv.org/abs/1606.04934 where the IAF are parametrized by a context vector h.
  • Add a context_dim argument in the MADEConfig, IAFConfig, MAFConfig, IAFSamplerConfig, MAFSamplerConfig and VAE_IAF_Config.
  • ⚠️ if the argument context_dim is different from None the VAE_IAF model expects the encoder to output a context vector h in addition to the parameters of the posterior distribution.

Minor changes

  • rename n_made_blocks --> n_blocks in IAF and MAF configs
  • add automatic context layer in benchmarks neural nets.

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

Successfully merging this pull request may close these issues.

1 participant