Upload folder using huggingface_hub
Browse files- .gitattributes +11 -0
- README.md +26 -20
- docs/architecture_diagrams/methodology.png +3 -0
- docs/visualizations/COCO_DF_C110B00000_00539519_vaas.png +3 -0
- docs/visualizations/COCO_DF_E000B00011_00834527_vaas.png +3 -0
- docs/visualizations/COCO_DF_E000B04010_00863031_vaas.png +3 -0
- docs/visualizations/COCO_DF_E000B04011_00898719_vaas.png +3 -0
- docs/visualizations/COCO_DF_E000B04016_00730443_vaas.png +3 -0
- docs/visualizations/COCO_DF_E000B60100_00731826_vaas.png +3 -0
- docs/visualizations/COCO_DF_I000B00000_00966250_vaas.png +3 -0
- docs/visualizations/COCO_DF_S000B00000_00058274_vaas.png +3 -0
- docs/visualizations/COCO_DF_S000B00000_00120651_vaas.png +3 -0
- docs/visualizations/COCO_DF_S000B00000_00251471_vaas.png +3 -0
- vaas/__init__.py +0 -0
- vaas/inference/__init__.py +0 -0
.gitattributes
CHANGED
|
@@ -34,3 +34,14 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
| 34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
| 36 |
methodology.png filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
| 36 |
methodology.png filter=lfs diff=lfs merge=lfs -text
|
| 37 |
+
docs/architecture_diagrams/methodology.png filter=lfs diff=lfs merge=lfs -text
|
| 38 |
+
docs/visualizations/COCO_DF_C110B00000_00539519_vaas.png filter=lfs diff=lfs merge=lfs -text
|
| 39 |
+
docs/visualizations/COCO_DF_E000B00011_00834527_vaas.png filter=lfs diff=lfs merge=lfs -text
|
| 40 |
+
docs/visualizations/COCO_DF_E000B04010_00863031_vaas.png filter=lfs diff=lfs merge=lfs -text
|
| 41 |
+
docs/visualizations/COCO_DF_E000B04011_00898719_vaas.png filter=lfs diff=lfs merge=lfs -text
|
| 42 |
+
docs/visualizations/COCO_DF_E000B04016_00730443_vaas.png filter=lfs diff=lfs merge=lfs -text
|
| 43 |
+
docs/visualizations/COCO_DF_E000B60100_00731826_vaas.png filter=lfs diff=lfs merge=lfs -text
|
| 44 |
+
docs/visualizations/COCO_DF_I000B00000_00966250_vaas.png filter=lfs diff=lfs merge=lfs -text
|
| 45 |
+
docs/visualizations/COCO_DF_S000B00000_00058274_vaas.png filter=lfs diff=lfs merge=lfs -text
|
| 46 |
+
docs/visualizations/COCO_DF_S000B00000_00120651_vaas.png filter=lfs diff=lfs merge=lfs -text
|
| 47 |
+
docs/visualizations/COCO_DF_S000B00000_00251471_vaas.png filter=lfs diff=lfs merge=lfs -text
|
README.md
CHANGED
|
@@ -21,12 +21,15 @@ It combines **global attention-based reasoning** with **patch-level self-consist
|
|
| 21 |
|
| 22 |
Rather than making binary decisions, VAAS estimates **where anomalies occur** and **how strongly they deviate from learned visual regularities**, enabling explainable image analysis and integrity assessment.
|
| 23 |
|
| 24 |
-
|
|
|
|
|
|
|
|
|
|
| 25 |
---
|
| 26 |
|
| 27 |
## Architecture Overview
|
| 28 |
|
| 29 |
-

|
| 58 |
-
- Component scores (`S_F`, `S_P`)
|
| 59 |
-
- Dense anomaly map (`224 × 224`)
|
| 60 |
-
|
| 61 |
-
Future releases will scale training data size, include cross-dataset evaluation, and explore model compression.
|
| 62 |
-
|
| 63 |
---
|
| 64 |
## Intended Use
|
| 65 |
|
|
@@ -124,7 +111,7 @@ pipeline = VAASPipeline.from_pretrained(
|
|
| 124 |
image = Image.open("example.jpg").convert("RGB")
|
| 125 |
result = pipeline(image)
|
| 126 |
|
| 127 |
-
print(result
|
| 128 |
anomaly_map = result["anomaly_map"]
|
| 129 |
```
|
| 130 |
|
|
@@ -163,7 +150,26 @@ This will save a figure containing:
|
|
| 163 |
* Global attention overlays
|
| 164 |
* A gauge-style visualization of the hybrid anomaly score
|
| 165 |
|
| 166 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 167 |
|
| 168 |
---
|
| 169 |
|
|
|
|
| 21 |
|
| 22 |
Rather than making binary decisions, VAAS estimates **where anomalies occur** and **how strongly they deviate from learned visual regularities**, enabling explainable image analysis and integrity assessment.
|
| 23 |
|
| 24 |
+
## Read Paper
|
| 25 |
+
|
| 26 |
+
- [Arxiv version](https://arxiv.org/abs/2512.15512)
|
| 27 |
+
- [Conference version](https://arxiv.org/abs/2512.15512)
|
| 28 |
---
|
| 29 |
|
| 30 |
## Architecture Overview
|
| 31 |
|
| 32 |
+

|
| 33 |
|
| 34 |
VAAS consists of two complementary components:
|
| 35 |
|
|
|
|
| 47 |
|
| 48 |
`S_H` provides a continuous measure of anomaly intensity rather than a binary decision.
|
| 49 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 50 |
---
|
| 51 |
## Intended Use
|
| 52 |
|
|
|
|
| 111 |
image = Image.open("example.jpg").convert("RGB")
|
| 112 |
result = pipeline(image)
|
| 113 |
|
| 114 |
+
print(result)
|
| 115 |
anomaly_map = result["anomaly_map"]
|
| 116 |
```
|
| 117 |
|
|
|
|
| 150 |
* Global attention overlays
|
| 151 |
* A gauge-style visualization of the hybrid anomaly score
|
| 152 |
|
| 153 |
+
For examples:
|
| 154 |
+
|
| 155 |
+

|
| 156 |
+

|
| 157 |
+

|
| 158 |
+
---
|
| 159 |
+
|
| 160 |
+
## Model Variant
|
| 161 |
+
|
| 162 |
+
This release corresponds to:
|
| 163 |
+
|
| 164 |
+
- **VAAS v1**
|
| 165 |
+
- Trained on **10% of the DF2023 dataset**
|
| 166 |
+
- Input resolution: `224 × 224`
|
| 167 |
+
- Outputs:
|
| 168 |
+
- Global anomaly score (`S_H`)
|
| 169 |
+
- Component scores (`S_F`, `S_P`)
|
| 170 |
+
- Dense anomaly map (`224 × 224`)
|
| 171 |
+
|
| 172 |
+
Future releases will scale training data size, include cross-dataset evaluation, and explore model compression.
|
| 173 |
|
| 174 |
---
|
| 175 |
|
docs/architecture_diagrams/methodology.png
ADDED
|
Git LFS Details
|
docs/visualizations/COCO_DF_C110B00000_00539519_vaas.png
ADDED
|
Git LFS Details
|
docs/visualizations/COCO_DF_E000B00011_00834527_vaas.png
ADDED
|
Git LFS Details
|
docs/visualizations/COCO_DF_E000B04010_00863031_vaas.png
ADDED
|
Git LFS Details
|
docs/visualizations/COCO_DF_E000B04011_00898719_vaas.png
ADDED
|
Git LFS Details
|
docs/visualizations/COCO_DF_E000B04016_00730443_vaas.png
ADDED
|
Git LFS Details
|
docs/visualizations/COCO_DF_E000B60100_00731826_vaas.png
ADDED
|
Git LFS Details
|
docs/visualizations/COCO_DF_I000B00000_00966250_vaas.png
ADDED
|
Git LFS Details
|
docs/visualizations/COCO_DF_S000B00000_00058274_vaas.png
ADDED
|
Git LFS Details
|
docs/visualizations/COCO_DF_S000B00000_00120651_vaas.png
ADDED
|
Git LFS Details
|
docs/visualizations/COCO_DF_S000B00000_00251471_vaas.png
ADDED
|
Git LFS Details
|
vaas/__init__.py
ADDED
|
File without changes
|
vaas/inference/__init__.py
ADDED
|
File without changes
|