Grad_CAM_plus_plus icon indicating copy to clipboard operation
Grad_CAM_plus_plus copied to clipboard

GradCAM does not match exactly. Why?

Open bemoregt opened this issue 7 years ago • 2 comments

Hi, @darkwrath @tataiani @prantikbubun @adityac94

As a result of classifying with Resnet, Accuarcy is over 99%. If you hit map the object area with gradCAM with that model file, it does not match exactly. Why? it does not match exactly. Why?

It seems to be a problem of GradCAM rather than Resnet classification learning. The objects to be hit-mapped are not as local or blob like dogs or cats, but close to a long straight line. In this case, GradCAM seems to miss the object area. Have you experienced this?

For a well-trainedd Resnet34 model, how do you optimize GradCAM?

Thanks, in advance.

from @bemoregt.

bemoregt avatar Jun 20 '18 01:06 bemoregt

Hello, Grad-CAM doesn't always work. That was the primary motivation for our work Grad-CAM++ https://arxiv.org/pdf/1710.11063.pdf, maybe you can try Grad-CAM++ visualizations for your resnet.

Thank you, adityac94

adityac94 avatar Jun 20 '18 09:06 adityac94

@adityac94 @darkwrath @tataiani @prantikbubun

Thanks.

I'll try this.

from @bemoregt

bemoregt avatar Jun 20 '18 10:06 bemoregt