Spaces:
Runtime error
Runtime error
File size: 489 Bytes
9f1f8c6 491ca4f 7d7e5b0 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 |
---
title: CNN-Transformer Explainability
emoji: π
colorFrom: yellow
colorTo: gray
sdk: gradio
app_file: app.py
pinned: false
---
# CNN - Transformer Explainability
A simple tool with Gradio to compare Class Activation Map (CAM) from a ResNet50 with Attention Rollout from ViT.
## Installation
Install requirements with:
```bash
pip install -r requirements.txt
```
## Run:
```python
python app.py
```
## CAM
![](results/CAM.png)
## Attention Rollout
![](results/ROLLOUT.png) |