We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hello,
What would be the simplest way of replacing a Gaussian prior for VAE with a flow-based one?
Thanks
The text was updated successfully, but these errors were encountered:
Hi,
I'd say the simplest would be to start from e.g. this example: https://github.com/didriknielsen/survae_flows/blob/master/examples/mnist_vae.py and add some bijective transformations after the VAE on line 50 (the layers are specified from data to latent, i.e. x -> z).
Alternatively, and equivalently, you can replace the base_distribution with a Flow.
base_distribution
Flow
Hope this helps. If it's not clear I post an example later.
Didrik
Sorry, something went wrong.
Thanks for your response, I had opted for the second option of replacing the base_distribution with a Flow. Much appreciated.
No branches or pull requests
Hello,
What would be the simplest way of replacing a Gaussian prior for VAE with a flow-based one?
Thanks
The text was updated successfully, but these errors were encountered: