--- 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)