Skip to content

abc-125/segad

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

9 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Valeo Anomaly Dataset (VAD)

All images in VAD are captured from an actual production line, showcasing a diverse range of defects, from highly obvious to extremely subtle. This dataset bridges the gap between the academic community and industry, offering researchers the opportunity to advance the performance of methods in tackling more complex real-world challenges. Published at CVPR 2024.

πŸš€ Get started

  1. Download VAD
  2. To get split for the low-shot benchmark, run create_low_shot_train.py in the dataset folder or use --vad_path to set the path to the dataset.
  3. Data structure is similar to MVTec AD:
vad
|-- test
|-----|--bad
|-----|--bad_unseen_defects
|-----|--good
|-- train
|-----|--bad
|-----|--good
|-- ground_truth
|-----|--bad
|-----|--bad_unseen_defects
|-- low_shot_train.json

πŸ’‘ Now available in Anomalib

Currently, only one-class (unsupervised) version is available.

from anomalib.data import VAD
from anomalib.models import Patchcore
from anomalib.engine import Engine

# Initialize components
datamodule = VAD()
model = Patchcore()
engine = Engine()

# Train the model
engine.fit(datamodule=datamodule, model=model)

πŸ“¦ Data description

VAD consists of one class with predefined training and testing sets. The training set contains 1000 bad and 2000 good images, and the testing set contains 1000 bad images, 165 of which are unseen defects, and 1000 good images. Unseen defects in the test dataset refer to several rare defect types not present in the training data. It contains 20+ types of defects; see Appendix C of the paper for details.

πŸ“„ License

VAD is released under CC BY-NC-SA 4.0 license.

✨ Citation

Please cite this paper if you find our dataset useful:

@inproceedings{baitieva2024supervised,
      title={Supervised Anomaly Detection for Complex Industrial Images}, 
      author={Aimira Baitieva and David Hurych and Victor Besnier and Olivier Bernard},
      booktitle={CVPR},
      year={2024} 
}

About

Valeo Anomaly Dataset (VAD)

Topics

Resources

License

Stars

Watchers

Forks

Languages