marco-rudolph / differnet

This is the official repository to the WACV 2021 paper "Same Same But DifferNet: Semi-Supervised Defect Detection with Normalizing Flows" by Marco Rudolph, Bastian Wandt and Bodo Rosenhahn.
215 stars 67 forks source link

Question about using FrEIA instead of custom NF codes. #43

Closed AndSonder closed 1 year ago

AndSonder commented 1 year ago

Hi, very thanks for your contribution!

I find one tools called FrEIA. FrEIA only transform half input in one block. However, you team choose to transform the hole input in your block. What are the advantages of doing this?

Looking forward to your reply!

marco-rudolph commented 1 year ago

Hi,

over a long sequence of blocks, it should not make a noticeable difference in practice. We took an older version of FrEIA that transformed both halves. The advantage of this technique is that you ensure that the entire input is transformed. Otherwise, if you are unlucky, one variable could not be transformed over all blocks if it falls every time into the non-transformed half.

Best, Marco