An open API service indexing awesome lists of open source software.

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

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

[![license](https://img.shields.io/github/license/DAVFoundation/captain-n3m0.svg?style=flat-square)](https://github.com/raidionics/AeroPath/blob/main/LICENSE.md)
[![CI/CD](https://github.com/andreped/vit-explainer/actions/workflows/deploy.yml/badge.svg)](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

Screenshot 2023-11-12 at 23 48 54

## 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.txt

python app.py
```

## License

The code in this repository is released under [MIT license](https://github.com/andreped/vit-explainer/blob/main/LICENSE.md).