M3
m30m/gnn-explainability-ui
A Simple Web Application to visualize explanation methods and debug your model
Explainability UI for GNN models
Demo
You can see the demo here
How to run this project
Running the project
- Clone the github repo
- Install the python requirements:
pip install -r requirements.txt - Install torch-geometric. You can use this tutorial.
- Change to
webdirectory:cd web - Install the node modules:
npm install(you need to install npm first) - Run the Vue app with command
npm run build - Return to the main directory
cd .. - Run the server with
python web_service.pycommand. The server will listen to port 5000 on all networks by default.
The UI should be accessible fromhttp://localhost:5000
Running the frontend for development
- Run the Vue app with command
npm run serve. The frontend is accessible athttp://localhost:8080/
and tries to communicate with backend athttp://localhost:5000.
How to add new experiments
There is an experiment template in the experiments folder which you can use as a starting point.
Copy experiment.py and modify it as necessary.
On this page
Languages
Python63.2%Vue33.3%JavaScript2.7%HTML0.8%
Contributors
Created March 1, 2021
Updated February 22, 2026