How to Generate a Heatmap Using OpenVINO™?
Content Type: Troubleshooting | Article ID: 000056835 | Last Reviewed: 11/09/2023
Can a heatmap generation technique like layer-wise relevance propagation or Grad-CAM be implemented using OpenVINO™?
Activation maps can be used to visualize the decision-making.
In order to calculate Class Activation Maps in OpenVINO™, is necessary to:
Note | This can be done through the CNNNetwork: addOutput() function call when initializing the network. |
After running the inference, calculate the weighted sum of the weights with the feature maps and use this to generate the visualization.