OBA-Research commited on
Commit
29627c3
·
verified ·
1 Parent(s): 03d87d0

Upload folder using huggingface_hub

Browse files
.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
- Paper link: *to be added upon publication*
 
 
 
25
  ---
26
 
27
  ## Architecture Overview
28
 
29
- ![VAAS Methodology](./methodology.png)
30
 
31
  VAAS consists of two complementary components:
32
 
@@ -44,22 +47,6 @@ These components are combined via a hybrid scoring mechanism:
44
 
45
  `S_H` provides a continuous measure of anomaly intensity rather than a binary decision.
46
 
47
- ---
48
-
49
- ## Model Variant
50
-
51
- This release corresponds to:
52
-
53
- - **VAAS v1**
54
- - Trained on **10% of the DF2023 dataset**
55
- - Input resolution: `224 × 224`
56
- - Outputs:
57
- - Global anomaly score (`S_H`)
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["S_H"])
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
- ![Inference with visual example](./methodology.png)
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ ![VAAS Methodology](docs/architecture_diagrams/methodology.png)
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
+ ![Inference with visual example](docs/visualizations/COCO_DF_I000B00000_00966250_vaas.png)
156
+ ![Inference with visual example](docs/visualizations/COCO_DF_S000B00000_00120651_vaas.png)
157
+ ![Inference with visual example](docs/visualizations/COCO_DF_C110B00000_00539519_vaas.png)
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

  • SHA256: 062fa8e676e2579ba2f5a90e75c87ce45ceef669e6bf0b9c7323bad3d0c5e72a
  • Pointer size: 131 Bytes
  • Size of remote file: 130 kB
docs/visualizations/COCO_DF_C110B00000_00539519_vaas.png ADDED

Git LFS Details

  • SHA256: b2a704338b7d1cc67de07bdff61018120f9b09c514211792339f684c5b40e0fe
  • Pointer size: 132 Bytes
  • Size of remote file: 1.21 MB
docs/visualizations/COCO_DF_E000B00011_00834527_vaas.png ADDED

Git LFS Details

  • SHA256: 833ea8802eb80e69fdf1a112079f3019019a3a72e2221b6d9217bcf56c727ae6
  • Pointer size: 131 Bytes
  • Size of remote file: 741 kB
docs/visualizations/COCO_DF_E000B04010_00863031_vaas.png ADDED

Git LFS Details

  • SHA256: 68e27c79bbb7d44362166c873c543d39823fad24d2171a39821a1672171bfddc
  • Pointer size: 132 Bytes
  • Size of remote file: 1.06 MB
docs/visualizations/COCO_DF_E000B04011_00898719_vaas.png ADDED

Git LFS Details

  • SHA256: 19765f2e8d4e710c7ec7431727eb4491bd15447cd55cce9ebb412770cd6c3236
  • Pointer size: 131 Bytes
  • Size of remote file: 685 kB
docs/visualizations/COCO_DF_E000B04016_00730443_vaas.png ADDED

Git LFS Details

  • SHA256: 7762048b26efa134a85f509cdcdf3e708286559fdcd968be61dc16fbe71c5c6e
  • Pointer size: 131 Bytes
  • Size of remote file: 911 kB
docs/visualizations/COCO_DF_E000B60100_00731826_vaas.png ADDED

Git LFS Details

  • SHA256: a67f88fefbbb537e2c27b57dc36964cd5daa4142c7047fab98d97948afd24f3b
  • Pointer size: 132 Bytes
  • Size of remote file: 1.02 MB
docs/visualizations/COCO_DF_I000B00000_00966250_vaas.png ADDED

Git LFS Details

  • SHA256: a4a28b71165ea16f6314de24890b2891ed9ec12dd48665eaed48c24585ff874b
  • Pointer size: 131 Bytes
  • Size of remote file: 741 kB
docs/visualizations/COCO_DF_S000B00000_00058274_vaas.png ADDED

Git LFS Details

  • SHA256: a86ce6207aebf8532af95203d6135987a7b34158f7253408f0e93c2b8c228eb9
  • Pointer size: 131 Bytes
  • Size of remote file: 764 kB
docs/visualizations/COCO_DF_S000B00000_00120651_vaas.png ADDED

Git LFS Details

  • SHA256: 8fcb31f92f71ad3534d950565569bb9d910eeec24e712f06ae5f9a84cadea096
  • Pointer size: 131 Bytes
  • Size of remote file: 936 kB
docs/visualizations/COCO_DF_S000B00000_00251471_vaas.png ADDED

Git LFS Details

  • SHA256: 4b9748eeda790239af95ef369def1f1f15b43e30886498ea15d154d16cbe08c5
  • Pointer size: 132 Bytes
  • Size of remote file: 1.13 MB
vaas/__init__.py ADDED
File without changes
vaas/inference/__init__.py ADDED
File without changes