jacobgil/keras-grad-cam

Grad-CAM for timeseries custom architecture

IKetchup opened this issue · 0 comments

Hello,

I would like to use grad-CAM to add explainability to my model train on multiple multivariate timeseries.

The idea would be to have something like this :

image

found a couple of paper that do it (Explainable Deep Neural Networks for Multivariate Time Series Predictions, XCM: An Explainable Convolutional Neural Network for Multivariate Time Series Classification) but they dont explain how just that they use grad-CAM keras.

I have tried to adapt grad-CAM to my own model and adapt it for timeseries using [this issue from grad-cam github] (#23) but I am really strugelling to adapt it to my own network.

Do you have piece of code even for image cam so I could use grad-CAM on my own network.

Thanks in advance