Skip to content

Add context to VAE-IAF#57

Draft
clementchadebec wants to merge 10 commits intomainfrom
vae_iaf_context
Draft

Add context to VAE-IAF#57
clementchadebec wants to merge 10 commits intomainfrom
vae_iaf_context

Conversation

@clementchadebec
Copy link
Copy Markdown
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