Add task categories, paper link, and dataset structure details to README
#1
by nielsr HF Staff - opened
README.md
CHANGED
|
@@ -1,16 +1,88 @@
|
|
| 1 |
---
|
| 2 |
license: mit
|
|
|
|
|
|
|
|
|
|
| 3 |
tags:
|
| 4 |
-
|
| 5 |
-
|
| 6 |
---
|
| 7 |
|
| 8 |
# ArcAD Cold-Start Data Splits
|
| 9 |
|
| 10 |
-
Cold-start supervised data splits (JSON manifests) for **MVTec-AD, VisA,
|
| 11 |
-
Real-IAD, and MANTA**, used by [ArcAD](https://github.com/LGC-AD/ArcAD)
|
| 12 |
-
(arXiv:2607.02252, ECCV 2026).
|
| 13 |
|
| 14 |
-
|
| 15 |
-
|
| 16 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
---
|
| 2 |
license: mit
|
| 3 |
+
task_categories:
|
| 4 |
+
- image-classification
|
| 5 |
+
- image-segmentation
|
| 6 |
tags:
|
| 7 |
+
- anomaly-detection
|
| 8 |
+
- cold-start
|
| 9 |
---
|
| 10 |
|
| 11 |
# ArcAD Cold-Start Data Splits
|
| 12 |
|
| 13 |
+
Cold-start supervised data splits (JSON manifests) for **MVTec-AD, VisA, Real-IAD, and MANTA**, used by [ArcAD: Anomaly-Rectified Calibration for Cold-Start Supervised Anomaly Detection](https://huggingface.co/papers/2607.02252) (ECCV 2026).
|
|
|
|
|
|
|
| 14 |
|
| 15 |
+
- **Repository:** https://github.com/LGC-AD/ArcAD
|
| 16 |
+
- **Paper:** https://huggingface.co/papers/2607.02252
|
| 17 |
+
|
| 18 |
+
All paths use each dataset's **original download structure** — download the official datasets and the paths resolve directly. See the [ArcAD repository](https://github.com/LGC-AD/ArcAD) for usage.
|
| 19 |
+
|
| 20 |
+
### Split JSON format
|
| 21 |
+
|
| 22 |
+
Every `<category>.json` has the same schema:
|
| 23 |
+
|
| 24 |
+
```json
|
| 25 |
+
{
|
| 26 |
+
"meta": { "dataset": "mvtec", "category": "bottle", "num_labeled": 69, "num_test": 223 },
|
| 27 |
+
"labeled":[ { "image": "bottle/train/good/000.png", "mask": "", "label": 0, "anomaly_class": "good" },
|
| 28 |
+
{ "image": "bottle/test/broken_large/005.png", "mask": "bottle/ground_truth/broken_large/005_mask.png", "label": 1, "anomaly_class": "broken_large" } ],
|
| 29 |
+
"test": [ ... ]
|
| 30 |
+
}
|
| 31 |
+
```
|
| 32 |
+
|
| 33 |
+
- All paths are **relative to the dataset root** (the `--data_path` argument) and use each dataset's **original download layout**.
|
| 34 |
+
- `mask` is `""` for normal samples (no mask file).
|
| 35 |
+
- `label`: `0` = normal, `1` = anomaly.
|
| 36 |
+
- `anomaly_class`: `"good"` for normals; the defect sub-folder name (e.g. `broken_large`) for MVTec, `"anomaly"` for VisA / Real-IAD / MANTA.
|
| 37 |
+
|
| 38 |
+
The total number of labeled samples matches the cold-start protocol (e.g. MVTec-AD: 1089 normals + 121 anomalies; Real-IAD: 10940 normals + 1216 anomalies).
|
| 39 |
+
|
| 40 |
+
### Expected on-disk layout
|
| 41 |
+
|
| 42 |
+
The JSON paths resolve against the **official download structure** of each dataset. Point `--data_path` at the root shown below:
|
| 43 |
+
|
| 44 |
+
#### MVTec-AD
|
| 45 |
+
It contains over 5000 high-resolution images divided into fifteen different object and texture categories.
|
| 46 |
+
```
|
| 47 |
+
<data_path>/bottle/
|
| 48 |
+
train/good/*.png
|
| 49 |
+
test/good/*.png
|
| 50 |
+
test/<defect_type>/*.png # e.g. broken_large, broken_small, contamination, ...
|
| 51 |
+
ground_truth/<defect_type>/<name>_mask.png
|
| 52 |
+
```
|
| 53 |
+
|
| 54 |
+
#### VisA
|
| 55 |
+
It contains 12 subsets corresponding to 12 different objects. There are 10,821 images with 9,621 normal and 1,200 anomalous samples.
|
| 56 |
+
```
|
| 57 |
+
<data_path>/candle/
|
| 58 |
+
Data/Images/Normal/*.JPG
|
| 59 |
+
Data/Images/Anomaly/*.JPG
|
| 60 |
+
Data/Masks/Anomaly/*.png
|
| 61 |
+
```
|
| 62 |
+
|
| 63 |
+
#### Real-IAD
|
| 64 |
+
A large-scale challenging industrial AD dataset, containing 30 classes with totally 151,050 images.
|
| 65 |
+
```
|
| 66 |
+
<data_path>/realiad_1024/<category>/<image> # image_path from realiad_jsons/sup/<cat>.json
|
| 67 |
+
<data_path>/realiad_jsons/sup/<category>.json # authoritative labeled/test split
|
| 68 |
+
```
|
| 69 |
+
|
| 70 |
+
#### MANTA
|
| 71 |
+
It contains 38 categories and over 130K object-level images.
|
| 72 |
+
```
|
| 73 |
+
<data_path>/MANTA_TINY_256_cropped/<category>/<image>
|
| 74 |
+
<data_path>/sup_cropped/<category>.json # authoritative labeled/test split
|
| 75 |
+
```
|
| 76 |
+
|
| 77 |
+
## Citation
|
| 78 |
+
|
| 79 |
+
If you find this work useful, please cite:
|
| 80 |
+
|
| 81 |
+
```bibtex
|
| 82 |
+
@article{han2026arcad,
|
| 83 |
+
title = {ArcAD: Anomaly-Rectified Calibration for Cold-Start Supervised Anomaly Detection},
|
| 84 |
+
author = {Han, Ningning and Fan, Lei and Guo, Jia and Cao, Yunkang and Su, Xiu and Cao, Feng and Di, Donglin and Su, Tonghua},
|
| 85 |
+
journal = {arXiv preprint arXiv:2607.02252},
|
| 86 |
+
year = {2026}
|
| 87 |
+
}
|
| 88 |
+
```
|