Update README.md
Browse files
README.md
CHANGED
|
@@ -1,15 +1,25 @@
|
|
| 1 |
-
---
|
| 2 |
-
license: mit
|
| 3 |
-
pipeline_tag: image-segmentation
|
| 4 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 5 |
# VAAS: Vision-Attention Anomaly Scoring
|
| 6 |
|
| 7 |
## Model Summary
|
| 8 |
|
| 9 |
-
VAAS (Vision-Attention Anomaly Scoring) is a dual-module vision framework for image anomaly detection and
|
| 10 |
-
It combines global attention-based reasoning with patch-level self-consistency analysis to produce a continuous
|
| 11 |
|
| 12 |
-
|
| 13 |
|
| 14 |
Paper link: *to be added upon publication*
|
| 15 |
---
|
|
@@ -68,23 +78,34 @@ GPU usage is recommended for faster processing but is not required.
|
|
| 68 |
|
| 69 |
## Installation
|
| 70 |
|
| 71 |
-
VAAS is distributed as a lightweight inference library.
|
| 72 |
-
Users must install **PyTorch** separately to match their system (CPU or GPU).
|
| 73 |
|
| 74 |
-
|
| 75 |
-
|
| 76 |
|
| 77 |
-
|
| 78 |
|
| 79 |
-
|
| 80 |
-
[https://pytorch.org/get-started/locally/](https://pytorch.org/get-started/locally/)
|
| 81 |
|
| 82 |
-
###
|
| 83 |
|
| 84 |
```bash
|
| 85 |
pip install vaas
|
| 86 |
```
|
| 87 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 88 |
|
| 89 |
## Usage
|
| 90 |
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: mit
|
| 3 |
+
pipeline_tag: image-segmentation
|
| 4 |
+
tags:
|
| 5 |
+
- anomaly-detection
|
| 6 |
+
- image-anomaly-detection
|
| 7 |
+
- explainable-ai
|
| 8 |
+
- vision-transformer
|
| 9 |
+
- attention-mechanism
|
| 10 |
+
- digital-forensics
|
| 11 |
+
- image-forensics
|
| 12 |
+
- weakly-supervised
|
| 13 |
+
- localization
|
| 14 |
+
---
|
| 15 |
# VAAS: Vision-Attention Anomaly Scoring
|
| 16 |
|
| 17 |
## Model Summary
|
| 18 |
|
| 19 |
+
VAAS (Vision-Attention Anomaly Scoring) is a dual-module vision framework for **image anomaly detection and localization**.
|
| 20 |
+
It combines **global attention-based reasoning** with **patch-level self-consistency analysis** to produce a **continuous, interpretable anomaly score** alongside dense spatial anomaly maps.
|
| 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 |
---
|
|
|
|
| 78 |
|
| 79 |
## Installation
|
| 80 |
|
| 81 |
+
VAAS is distributed as a **lightweight inference library** and can be installed instantly.
|
|
|
|
| 82 |
|
| 83 |
+
PyTorch is **only required when running inference or loading pretrained models**.
|
| 84 |
+
This allows users to inspect, install, and integrate VAAS without heavy dependencies.
|
| 85 |
|
| 86 |
+
*This model was produced using `vaas==0.1.6`, but newer versions of VAAS may also be compatible for inference.*
|
| 87 |
|
| 88 |
+
---
|
|
|
|
| 89 |
|
| 90 |
+
### 1. Install VAAS
|
| 91 |
|
| 92 |
```bash
|
| 93 |
pip install vaas
|
| 94 |
```
|
| 95 |
+
You can now safely run:
|
| 96 |
+
```bash
|
| 97 |
+
import vaas
|
| 98 |
+
```
|
| 99 |
+
|
| 100 |
+
### 2. Install PyTorch
|
| 101 |
+
|
| 102 |
+
To run inference or load pretrained VAAS models, install PyTorch and torchvision for your system (CPU or GPU).
|
| 103 |
+
Follow the official PyTorch installation guide for your platform:
|
| 104 |
+
|
| 105 |
+
[https://pytorch.org/get-started/locally/](https://pytorch.org/get-started/locally/)
|
| 106 |
+
|
| 107 |
+
VAAS will automatically detect PyTorch at runtime and raise a clear error if it is missing.
|
| 108 |
+
|
| 109 |
|
| 110 |
## Usage
|
| 111 |
|