anomalib icon indicating copy to clipboard operation
anomalib copied to clipboard

[Task]: Is it possible for data without labels?

Open korkard opened this issue 7 months ago • 7 comments

What is the motivation for this task?

If the training data has a myriad of normal data and a small amount of abnormal data, and very small labelling test data

Describe the solution you'd like

idk..

Additional context

No response

korkard avatar Nov 29 '23 11:11 korkard

Hello. You can still train without the labels, but you won't be able to test the model.

blaz-r avatar Nov 29 '23 15:11 blaz-r

Thanks for your reply. Are you saying that I can train in a state where normal and abnormal are mixed? I think good, bad is labels.

korkard avatar Nov 29 '23 23:11 korkard

Sorry I understood the question incorrectly. All models implemented in Anomalib only utilize normal data for training, so you should be able to train the model using your good data, which does not require labels. The abnormal data can be used as part of the test set and shouldn't be mixed with good data.

blaz-r avatar Nov 29 '23 23:11 blaz-r

hi to clarify, all models that exist in anomalib are unsupervised? Or in this case semi-supervised, I am not sure, but the learning is only done on the good images, that is the only data required, correct? Thank you, as I was confused if these were supervised(requiring masks for training, thus labeling for custom data) or not

aradwan777 avatar Dec 05 '23 03:12 aradwan777

Hello, that is correct. All models in currently Anomalib are unsupervised, using only good data for training. Labeled anomalous images are only used in test phase, where you require ground truth annotation to tell how good the model is performing.

blaz-r avatar Dec 05 '23 09:12 blaz-r

Is it possible, to test operation without using ground truth ?

Abhijeet241093 avatar Dec 26 '23 08:12 Abhijeet241093

If you just need the result of anomaly detection but not localizaition, the ground truth is not required, you can just prepare some black image as the fake ground truth for test phase.

Sj-Yuan avatar Jan 15 '24 03:01 Sj-Yuan