https://github.com/andreped/vit-explainer
🔥 Demonstrating Explainable AI with Vision Transformer in web app
https://github.com/andreped/vit-explainer
ai explainable-ai gradio huggingface huggingface-spaces saliency-map transformers vision-transformer vit xai
Last synced: 6 months ago
JSON representation
🔥 Demonstrating Explainable AI with Vision Transformer in web app
- Host: GitHub
- URL: https://github.com/andreped/vit-explainer
- Owner: andreped
- License: mit
- Created: 2023-11-12T20:16:32.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2023-11-12T22:55:38.000Z (almost 2 years ago)
- Last Synced: 2025-04-13T05:36:32.989Z (6 months ago)
- Topics: ai, explainable-ai, gradio, huggingface, huggingface-spaces, saliency-map, transformers, vision-transformer, vit, xai
- Language: Python
- Homepage: https://huggingface.co/spaces/andreped/vit-explainer
- Size: 4.88 KB
- Stars: 3
- Watchers: 2
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
---
title: 'vit-explainer'
colorFrom: indigo
colorTo: indigo
sdk: gradio
app_port: 7860
emoji: 🔥
pinned: false
license: mit
app_file: app.py
---# vit-explainer
[](https://github.com/raidionics/AeroPath/blob/main/LICENSE.md)
[](https://github.com/andreped/vit-explainer/actions/workflows/deploy.yml)This web app was developed to test and demonstrate an explainable AI (XAI)-based technique with a pretrained vision transformer (ViT).
The app is deployed on Hugging Face and can be access by clicking the 🤗 badge above.
## Demo
## Development
To run the app locally, you run the following in the terminal:
```
git clone "https://github.com/andreped/vit-explainer.git"
cd "vit-explainer/"virtualenv -ppython3 venv --clear
source venv/bin/activate
pip install -r requirements.txtpython app.py
```## License
The code in this repository is released under [MIT license](https://github.com/andreped/vit-explainer/blob/main/LICENSE.md).