Skip to content
Discussion options

You must be logged in to vote

Hi, for the unsupervised case you should only use normal samples in the training set. This is the only setting currently supported within the anomalib.

If you want to also use anomalous samples, that would be a supervised setting that is only supported by the official repo. But mind that it's fully supervised setting, where segmentations are available (KSDD2 is one such case).

In case that you do have anomalous images and don't have segmentations, you at least need image-level labels, that is then weakly supervised setting. This is currently supported by neither the anomalib or official repo.
The code however is ready for weak supervision, but it's not public yet. I think I'll release it …

Replies: 3 comments

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
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
3 participants
Converted from issue

This discussion was converted from issue #2560 on June 19, 2025 05:25.