Implementation of Layerwise Relevance Propagation for heatmapping "deep" layers, using Tensorflow and Keras.
train.py
to train model. logs/
. lrp.py
for Layerwise Relevance Propagation.NOTE: If using Tensorflow version < 1.5.0
, you need to change
tf.nn.softmax_cross_entropy_with_logits_v2
to tf.nn.softmax_cross_entropy_with_logits
.
results/
.lrp.py <image_1> <image_2> ... <image_n>
.