mmeendez's picture
Add yaml to README
9f1f8c6
---
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)