Skip to content
This repository has been archived by the owner on Nov 23, 2023. It is now read-only.

alexandrosstergiou/Saliency-Tubes-Visual-Explanations-for-Spatio-Temporal-Convolutions

Repository files navigation

Saliency Tubes: Visual Explanations for Spatio-Temporal Convolutions

supported versions Bugzilla bug status license GitHub language count

Introduction

Deep learning approaches have been established as the main methodology for video classification and recognition. Recently, 3-dimensional convolutions have been used to achieve state-of-the-art performance in many challenging video datasets. Because of the high level of complexity of these methods, as the convolution operations are also extended to additional dimension in order to extract features from them as well, providing a visualization for the signals that the network interpret as informative, is a challenging task. An effective notion of understanding the network's inner-workings would be to isolate the spatio-temporal regions on the video that the network finds most informative. We propose a method called Saliency Tubes which demonstrate the foremost points and regions in both frame level and over time that are found to be the main focus points of the network. We demonstrate our findings on widely used datasets for third-person and egocentric action classification and enhance the set of methods and visualizations that improve 3D Convolutional Neural Networks (CNNs) intelligibility.

To appear in IEEE International Conference on Image Processing (ICIP) 2019    
[arXiv preprint]     [IEEE Xplore]     [video presentation]

For videos, these frames can be turned to video/GIFs with tools such as ImageMagic or imageio.

Installation

Please make sure, Git is installed in your machine:

$ sudo apt-get update
$ sudo apt-get install git
$ git clone https://github.com/alexandrosstergiou/Saliency-Tubes-Visual-Explanations-for-Spatio-Temporal-Convolutions.git

Dependencies

Currently the repository supports either Keras or Pytorch models. OpenCV was used for processes in the frame level. For resizing the to the original video dimensions we used scipy.ndimage.

$ pip install opencv-python
$ pip install scipy

License

MIT

Citing Saliency Tubes

If you use our code in your research, please use the following BibTeX entry:

@inproceedings{stergiou2019saliency,
title={Saliency tubes: Visual explanations for spatio-temporal convolutions},
author={Stergiou, Alexandros and Kapidis, Georgios and Kalliatakis, Grigorios and Chrysoulas, Christos and Veltkamp, Remco and Poppe, Ronald},
booktitle={2019 IEEE International Conference on Image Processing (ICIP)},
pages={1830--1834},
year={2019},
organization={IEEE}
}

Contact

Alexandros Stergiou

a.g.stergiou at uu.nl

Any queries or suggestions are much appreciated!

About

[ICIP 2019] Implementation of Saliency Tubes for 3D Convolutions in Pytoch and Keras to localise the focus spatio-temporal regions of 3D CNNs.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages