Spaces:
Runtime error
Runtime error
Update Readme
Browse files
README.md
CHANGED
@@ -2,3 +2,25 @@
|
|
2 |
|
3 |
A simple tool with Gradio to compare Class Activation Map (CAM) from a ResNet50 with Attention Rollout from ViT.
|
4 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2 |
|
3 |
A simple tool with Gradio to compare Class Activation Map (CAM) from a ResNet50 with Attention Rollout from ViT.
|
4 |
|
5 |
+
|
6 |
+
## Installation
|
7 |
+
|
8 |
+
Install requirements with:
|
9 |
+
|
10 |
+
```bash
|
11 |
+
pip install -r requirements.txt
|
12 |
+
```
|
13 |
+
|
14 |
+
## Run:
|
15 |
+
|
16 |
+
```python
|
17 |
+
python app.py
|
18 |
+
```
|
19 |
+
|
20 |
+
## CAM
|
21 |
+
|
22 |
+
![](results/CAM.png)
|
23 |
+
|
24 |
+
## Attention Rollout
|
25 |
+
|
26 |
+
![](results/ROLLOUT.png)
|