anomalib
anomalib copied to clipboard
Why is the loss function of fastflow negative, What are the meanings of pixel_F1Score and pixel_AUROC?Thanks
hello
The loss is likelihood as general normalizing flow models. It will be helpful to search concepts of normalizing flow. In addition, fastflow predicts whether the pixel is anomaly. Pixel AUROC means the localization(segmentation) perfomance.
@leibaoer sorry for the late response. As @cytotoxicity8 mentioned, fastflow computes the loss by maximizing the negative log jacobian. You can see it defined here https://github.com/openvinotoolkit/anomalib/blob/main/anomalib/models/fastflow/loss.py#L27. Section 3.3 of the fastflow paper (https://arxiv.org/pdf/2111.07677.pdf) might make it more clear.