Reverse mode in flow models (FastFlow) is never called #643
-
Hi everyone, I'm currently doing a deep dive on the FastFlow model in anomalib. In particular, I'm looking at the behavior of the forward() function in the AllInOneBlock module: |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
@kshiring sorry for the late reply. FastFlow and similar models use the concept of invertible transformations for modelling the source probability distribution. The idea behind normalizing flow is to take a source distribution and map it to a normal distribution using a series of invertible operations. Once such a series of invertible operations is learnt, you can then generate a sample in the source distribution space using a sample from the normal distribution and reversing the flow. This is how normalizing flows are used in generative modeling applications. So going from the target distribution to normal distribution is called the normalizing direction and the opposite is called the generative direction. The Here are two sentences from the paper that might make it clear:
Let me know if something is not clear. |
Beta Was this translation helpful? Give feedback.
@kshiring sorry for the late reply.
FastFlow and similar models use the concept of invertible transformations for modelling the source probability distribution. The idea behind normalizing flow is to take a source distribution and map it to a normal distribution using a series of invertible operations. Once such a series of invertible operations is learnt, you can then generate a sample in the source distribution space using a sample from the normal distribution and reversing the flow. This is how normalizing flows are used in generative modeling applications. So going from the target distribution to normal distribution is called the normalizing direction and the opposite is called the ge…