Team Ai
Apppublic

mmeendez/cnn_transformer_explainability

sourceHugging Faceupdated 5y agoView on Hugging Face
2likes
App README

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

[image]

Attention Rollout

[image]