Skip to content

An implementation for real time layer-wise relevance propagation using OpenCV and Tensorflow.

Notifications You must be signed in to change notification settings

kaifishr/RealTimeRelevancePropagation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

RealTimeRelevancePropagation

Update: An improved version of real-time relevance propagation for PyTorch can be found here.

An implementation of real time layer-wise relevance propagation (LRP) with a pre-trained VGG16 network using OpenCV and Tensorflow.

The example below shows the result of a short test. It is clearly visible that the relevance values in the background, especially at the door, disappear entirely when the notebook enters the image area, which is then assigned a lot of relevance. This is to be expected since the VGG16 network has also been trained to classify notebooks.

A fast graphics card is recommended for a better experience. With an RTX 2080 Ti, I get around 33 FPS.

About

An implementation for real time layer-wise relevance propagation using OpenCV and Tensorflow.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages