Datasets:
Improve dataset card: Add paper link, code link, task category, and detailed description (#2)
Browse files- Improve dataset card: Add paper link, code link, task category, and detailed description (47c5febb8da808840e8b80114f5c0cb66e009690)
Co-authored-by: Niels Rogge <nielsr@users.noreply.huggingface.co>
README.md
CHANGED
|
@@ -1,3 +1,50 @@
|
|
| 1 |
-
---
|
| 2 |
-
license: cc-by-nc-4.0
|
| 3 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: cc-by-nc-4.0
|
| 3 |
+
task_categories:
|
| 4 |
+
- image-segmentation
|
| 5 |
+
tags:
|
| 6 |
+
- anomaly-detection
|
| 7 |
+
- continual-learning
|
| 8 |
+
- benchmark
|
| 9 |
+
---
|
| 10 |
+
|
| 11 |
+
# Continual-MEGA: A Large-scale Benchmark for Generalizable Continual Anomaly Detection
|
| 12 |
+
|
| 13 |
+
This repository contains the dataset for **Continual-MEGA**, a new benchmark for continual learning in anomaly detection, introduced in the paper [Continual-MEGA: A Large-scale Benchmark for Generalizable Continual Anomaly Detection](https://huggingface.co/papers/2506.00956).
|
| 14 |
+
|
| 15 |
+
Continual-MEGA aims to better reflect real-world deployment scenarios. It features a large and diverse dataset that significantly expands existing evaluation settings by combining carefully curated existing datasets with the newly proposed **ContinualAD** dataset. The benchmark also proposes a novel scenario for measuring zero-shot generalization to unseen classes, particularly focusing on pixel-level defect localization.
|
| 16 |
+
|
| 17 |
+
For the associated evaluation code, checkpoint files, and further details, please refer to the GitHub repository: [https://github.com/Continual-Mega/Continual-Mega-Neurips2025](https://github.com/Continual-Mega/Continual-Mega-Neurips2025)
|
| 18 |
+
|
| 19 |
+
## Dataset Structure
|
| 20 |
+
|
| 21 |
+
The Continual-MEGA benchmark dataset combines data from various sources, structured as follows:
|
| 22 |
+
|
| 23 |
+
```
|
| 24 |
+
data/
|
| 25 |
+
βββ continual_ad/ # Our proposed ContinualAD dataset
|
| 26 |
+
βββ mvtec_anomaly_detection/ # MVTec-AD dataset
|
| 27 |
+
βββ VisA_20220922/ # VisA dataset
|
| 28 |
+
βββ VIADUCT/ # VIADUCT dataset
|
| 29 |
+
βββ Real-IAD-512/ # RealIAD dataset (512 size)
|
| 30 |
+
βββ MPDD/ # MPDD dataset
|
| 31 |
+
βββ BTAD/ # BTAD
|
| 32 |
+
```
|
| 33 |
+
|
| 34 |
+
## Sample Usage (Evaluation)
|
| 35 |
+
|
| 36 |
+
The evaluation code for the Continual-MEGA benchmark is available in the associated GitHub repository. After cloning the repository and setting up, you can run the following commands:
|
| 37 |
+
|
| 38 |
+
### Continual Settings Evaluation
|
| 39 |
+
|
| 40 |
+
```bash
|
| 41 |
+
sh eval_continual.sh
|
| 42 |
+
```
|
| 43 |
+
|
| 44 |
+
### Zero-Shot Generalization Evaluation
|
| 45 |
+
|
| 46 |
+
```bash
|
| 47 |
+
sh eval_zero.sh
|
| 48 |
+
```
|
| 49 |
+
|
| 50 |
+
For detailed setup instructions, including downloading CLIP pretrained weights and specific checkpoint files, please visit the [official GitHub repository](https://github.com/Continual-Mega/Continual-Mega-Neurips2025).
|