Skip to content

Question about PaDiM model validation and testing #2319

Closed Answered by samet-akcay
junhhaha asked this question in Q&A
Discussion options

You must be logged in to vote

Padim, does not need abnormal images during training, but does need some during validation, during which it computes the adaptive threshold using normal and abnormal images. This threshold value is then used to compute the performance on the test dataset.

If you don't want to split your dataset, then you have two options: (i) Use synthetic normal images to compute the threshold, or (ii) do not compute the threshold, which means do not compute the test metrics.

If you want to do follow the first option, you could refer to this documentation
https://anomalib.readthedocs.io/en/v1.1.1/markdown/guides/how_to/data/custom_data.html#with-only-normal-images

Replies: 3 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by samet-akcay
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 #2199 on September 25, 2024 04:24.