Skip to content
Discussion options

You must be logged in to vote

If anomaly score isn't separately calculated as part of the model, it is obtained as maximum value of the anomaly map here:

https://github.com/openvinotoolkit/anomalib/blob/df50c0ba150cfefdfe3fd8c745d232b720a281d5/src/anomalib/models/components/base/anomaly_module.py#L186-L193

Regarding the Draem, that is a nice little catch. Draem does in fact contain mean filtering (loccal avgpool) before the max is taken in original implementation. Anomalib version doesn't do that but just takes the max without mean filtering.

Replies: 3 comments 3 replies

Comment options

You must be logged in to vote
3 replies
@Yzp1018
Comment options

@blaz-r
Comment options

Answer selected by Yzp1018
@samet-akcay
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants
Converted from issue

This discussion was converted from issue #1572 on January 03, 2024 16:45.