├── .gitignore ├── README.md ├── docs ├── interactive_lrp │ ├── input.png │ └── relevance_scores.png ├── per_image_lrp │ ├── example_1.png │ ├── example_2.png │ ├── example_3.png │ ├── example_4.png │ ├── example_5.png │ ├── example_6.png │ ├── example_7.png │ └── example_8.png ├── real_time_lrp │ └── output.gif └── relevance_filter │ ├── example_1.png │ ├── example_2.png │ ├── example_3.png │ └── example_4.png ├── input └── cats │ ├── cat_1.jpg │ ├── cat_2.jpg │ ├── cat_3.jpg │ ├── cat_4.jpg │ ├── cat_5.jpg │ ├── cat_6.jpg │ ├── cat_7.jpg │ └── cat_8.jpg ├── projects ├── interactive_lrp │ ├── main.py │ └── patch.py ├── per_image_lrp │ ├── main.py │ └── visualize.py └── real_time_lrp │ ├── main.py │ ├── recorder.py │ └── webcam.py └── src ├── __init__.py ├── data.py ├── data_processing.py ├── lab ├── autorel.py └── eval.py ├── lrp.py ├── lrp_filter.py ├── lrp_layers.py └── utils.py /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kaifishr/PyTorchRelevancePropagation/HEAD/.gitignore -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kaifishr/PyTorchRelevancePropagation/HEAD/README.md -------------------------------------------------------------------------------- /docs/interactive_lrp/input.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kaifishr/PyTorchRelevancePropagation/HEAD/docs/interactive_lrp/input.png -------------------------------------------------------------------------------- /docs/interactive_lrp/relevance_scores.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kaifishr/PyTorchRelevancePropagation/HEAD/docs/interactive_lrp/relevance_scores.png -------------------------------------------------------------------------------- /docs/per_image_lrp/example_1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kaifishr/PyTorchRelevancePropagation/HEAD/docs/per_image_lrp/example_1.png -------------------------------------------------------------------------------- /docs/per_image_lrp/example_2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kaifishr/PyTorchRelevancePropagation/HEAD/docs/per_image_lrp/example_2.png -------------------------------------------------------------------------------- /docs/per_image_lrp/example_3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kaifishr/PyTorchRelevancePropagation/HEAD/docs/per_image_lrp/example_3.png -------------------------------------------------------------------------------- /docs/per_image_lrp/example_4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kaifishr/PyTorchRelevancePropagation/HEAD/docs/per_image_lrp/example_4.png -------------------------------------------------------------------------------- /docs/per_image_lrp/example_5.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kaifishr/PyTorchRelevancePropagation/HEAD/docs/per_image_lrp/example_5.png -------------------------------------------------------------------------------- /docs/per_image_lrp/example_6.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kaifishr/PyTorchRelevancePropagation/HEAD/docs/per_image_lrp/example_6.png -------------------------------------------------------------------------------- /docs/per_image_lrp/example_7.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kaifishr/PyTorchRelevancePropagation/HEAD/docs/per_image_lrp/example_7.png -------------------------------------------------------------------------------- /docs/per_image_lrp/example_8.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kaifishr/PyTorchRelevancePropagation/HEAD/docs/per_image_lrp/example_8.png -------------------------------------------------------------------------------- /docs/real_time_lrp/output.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kaifishr/PyTorchRelevancePropagation/HEAD/docs/real_time_lrp/output.gif -------------------------------------------------------------------------------- /docs/relevance_filter/example_1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kaifishr/PyTorchRelevancePropagation/HEAD/docs/relevance_filter/example_1.png -------------------------------------------------------------------------------- /docs/relevance_filter/example_2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kaifishr/PyTorchRelevancePropagation/HEAD/docs/relevance_filter/example_2.png -------------------------------------------------------------------------------- /docs/relevance_filter/example_3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kaifishr/PyTorchRelevancePropagation/HEAD/docs/relevance_filter/example_3.png -------------------------------------------------------------------------------- /docs/relevance_filter/example_4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kaifishr/PyTorchRelevancePropagation/HEAD/docs/relevance_filter/example_4.png -------------------------------------------------------------------------------- /input/cats/cat_1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kaifishr/PyTorchRelevancePropagation/HEAD/input/cats/cat_1.jpg -------------------------------------------------------------------------------- /input/cats/cat_2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kaifishr/PyTorchRelevancePropagation/HEAD/input/cats/cat_2.jpg -------------------------------------------------------------------------------- /input/cats/cat_3.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kaifishr/PyTorchRelevancePropagation/HEAD/input/cats/cat_3.jpg -------------------------------------------------------------------------------- /input/cats/cat_4.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kaifishr/PyTorchRelevancePropagation/HEAD/input/cats/cat_4.jpg -------------------------------------------------------------------------------- /input/cats/cat_5.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kaifishr/PyTorchRelevancePropagation/HEAD/input/cats/cat_5.jpg -------------------------------------------------------------------------------- /input/cats/cat_6.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kaifishr/PyTorchRelevancePropagation/HEAD/input/cats/cat_6.jpg -------------------------------------------------------------------------------- /input/cats/cat_7.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kaifishr/PyTorchRelevancePropagation/HEAD/input/cats/cat_7.jpg -------------------------------------------------------------------------------- /input/cats/cat_8.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kaifishr/PyTorchRelevancePropagation/HEAD/input/cats/cat_8.jpg -------------------------------------------------------------------------------- /projects/interactive_lrp/main.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kaifishr/PyTorchRelevancePropagation/HEAD/projects/interactive_lrp/main.py -------------------------------------------------------------------------------- /projects/interactive_lrp/patch.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kaifishr/PyTorchRelevancePropagation/HEAD/projects/interactive_lrp/patch.py -------------------------------------------------------------------------------- /projects/per_image_lrp/main.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kaifishr/PyTorchRelevancePropagation/HEAD/projects/per_image_lrp/main.py -------------------------------------------------------------------------------- /projects/per_image_lrp/visualize.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kaifishr/PyTorchRelevancePropagation/HEAD/projects/per_image_lrp/visualize.py -------------------------------------------------------------------------------- /projects/real_time_lrp/main.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kaifishr/PyTorchRelevancePropagation/HEAD/projects/real_time_lrp/main.py -------------------------------------------------------------------------------- /projects/real_time_lrp/recorder.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kaifishr/PyTorchRelevancePropagation/HEAD/projects/real_time_lrp/recorder.py -------------------------------------------------------------------------------- /projects/real_time_lrp/webcam.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kaifishr/PyTorchRelevancePropagation/HEAD/projects/real_time_lrp/webcam.py -------------------------------------------------------------------------------- /src/__init__.py: -------------------------------------------------------------------------------- 1 | from .lrp import LRPModel 2 | -------------------------------------------------------------------------------- /src/data.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kaifishr/PyTorchRelevancePropagation/HEAD/src/data.py -------------------------------------------------------------------------------- /src/data_processing.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kaifishr/PyTorchRelevancePropagation/HEAD/src/data_processing.py -------------------------------------------------------------------------------- /src/lab/autorel.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kaifishr/PyTorchRelevancePropagation/HEAD/src/lab/autorel.py -------------------------------------------------------------------------------- /src/lab/eval.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kaifishr/PyTorchRelevancePropagation/HEAD/src/lab/eval.py -------------------------------------------------------------------------------- /src/lrp.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kaifishr/PyTorchRelevancePropagation/HEAD/src/lrp.py -------------------------------------------------------------------------------- /src/lrp_filter.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kaifishr/PyTorchRelevancePropagation/HEAD/src/lrp_filter.py -------------------------------------------------------------------------------- /src/lrp_layers.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kaifishr/PyTorchRelevancePropagation/HEAD/src/lrp_layers.py -------------------------------------------------------------------------------- /src/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kaifishr/PyTorchRelevancePropagation/HEAD/src/utils.py --------------------------------------------------------------------------------