Skip to content

Tutorial gradCAM 3D seems to have inverted heatmap #1796

@CamilleDelgrange

Description

@CamilleDelgrange

Bug - GradCAM:
https://github.com/Project-MONAI/tutorials/blob/main/modules/interpretability/class_lung_lesion.ipynb

Following this tutorial, and comparing with the original paper on GradCAM (Grad-CAM: Visual Explanations from Deep Networks via Gradient-Based Localization), I have the impression that there is an issue somewhere with the activation score or the heatmap colors because red should be related to high importance score and blue the reverse.

image

How can I fix that in my situation ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions