Comments (2)
Hi @maulberto3,
in this package, flows are defined as maps from the latent to the observation space. To compute the forward KL divergence, you have to map the observations to the latent space, i.e. apply the inverse.
On the other side, in a variational autoencoder you sample from the latent space (prior) and transform it with the flow layers, i.e. us the forward direction.
In any case, the error is not related to the fact whether you use the forward and the inverse map. Probably, it is due to a misspecification in the flow layer, e.g. that certain parameters that you use to initialize the flow layer do not have the correct shape.
I'll close the issue for now, but if this does not resolve your problem, feel free to open it and add more details about what you are doing and in which context the error occurs.
Best regards,
Vincent
from normalizing-flows.
The bug has been fix, see this issue.
from normalizing-flows.
Related Issues (20)
- Example usage for images HOT 2
- More functionality HOT 2
- Putting examples in the documentation HOT 5
- Forward and Inverse with log det function for `MultiscaleFlow`
- multi-gpu implementation HOT 1
- How the inverse was calculated HOT 1
- Conditional Flows implementation / documentation HOT 2
- Remove Lambda's HOT 6
- Negative KL divergence HOT 3
- issue about ConditionalNormalizingFlow HOT 2
- The original glow seems to use `ConditionalDiagGaussian` HOT 1
- exp and sigmoid may cause inf. HOT 3
- Could you give an example for NICE? HOT 1
- NICE demo? HOT 1
- What dou you mean by "Augmented Normalizing Flow based on Real NVP"? HOT 1
- one-dimensional coupling flows do not work HOT 3
- Seeking Advice on Designing an Invertible Neural Network for Fission HOT 2
- Calculating forward KL divergence (probability density maximization), I get negative loss results on my dataset, is this reasonable? HOT 1
- Cannot have an odd latent_size (working with 2, 4, etc. , but not 3 or 5), shape problem HOT 2
- Conditional Coupling Layers
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from normalizing-flows.