Update README.md
Browse files
README.md
CHANGED
|
@@ -1,3 +1,31 @@
|
|
| 1 |
-
---
|
| 2 |
-
license: cc-by-nc-sa-4.0
|
| 3 |
-
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: cc-by-nc-sa-4.0
|
| 3 |
+
---
|
| 4 |
+
# ReinAD: Towards Real-world Industrial Anomaly Detection with a Comprehensive Contrastive Dataset
|
| 5 |
+
|
| 6 |
+
Our dataset consists of a training set and a test set. All normal and anomaly images are in JPG format, while all masks are in PNG format. In the mask annotations, pixels with a value of 0 represent normal regions, and pixels with a value of 1 represent anomaly regions.
|
| 7 |
+
|
| 8 |
+
The file structure of the training set and the test set are consistent, as follows:
|
| 9 |
+
|
| 10 |
+
```text
|
| 11 |
+
dataset/
|
| 12 |
+
├── train/
|
| 13 |
+
│ ├── category1/
|
| 14 |
+
│ │ └── Data/
|
| 15 |
+
│ │ ├── Images/
|
| 16 |
+
│ │ │ ├── Anomaly/ # Anomaly images
|
| 17 |
+
│ │ │ ├── Normal/ # Normal images
|
| 18 |
+
│ │ │ └── Prompt/ # Prompt for few-shot settings
|
| 19 |
+
│ │ └── Masks/
|
| 20 |
+
│ │ └── Anomaly/ # Pixel-level annotations for anomaly images
|
| 21 |
+
│ ├── category2/
|
| 22 |
+
│ │ └── Data/ # Same structure as category 1
|
| 23 |
+
│ ├── category3/
|
| 24 |
+
│ │ └── Data/ # Same structure as category 1
|
| 25 |
+
│ └── ... # Additional categories
|
| 26 |
+
└── test/
|
| 27 |
+
├── category1/ # Same structure as train/category1
|
| 28 |
+
├── category2/
|
| 29 |
+
├── category3/
|
| 30 |
+
└── ... # Additional categories
|
| 31 |
+
```
|