Skip to content

SFI-Visual-Intelligence/KMEx

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Paper: Prototypical Self-Explainable Models Without Re-training (Link)

KMEx

The official repository for Prototypical Self-Explainable Models Without Re-training

Setup

Install a new conda environment

conda env create -f requirements.yml
conda activate kmex

Usage

Command example: python main.py --dataset mnist --model RESNET34 --run r0 --load
(1) -dataset: name of the dataset. Supports mnist, fmnist, quickdraw, cifar10, svhn, stl10, celeba
(2) -model: backbone model. Supports RESNET34, PROTOVAE_RESNET34 (for training as well as evaluation of KMEx), PPNET_RESNET34 (for ProtoPNet+KMEx and its evaluation), FLINT_RESNET34 (for FLINT+KMEx and its evaluation). 
(3) -run: name of the experiment.
(4) --load: flag for loading the model.

About

Prototypical Self-Explainable Models Without Re-training

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • Python 100.0%