-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Description
Hello there, so I've been working with this repo for quite a time now, can say since it was released. Trying to extract GradCam images as explained here https://arxiv.org/abs/1610.02391 I have quite some problems.
So some CAM images look quite nice but some constantly occuring problems are present. The major one is checkerboard patterns, as can be seen below:
I'm %99 sure my GradCAM implementation is correct yet I suspect some things causing this, it can be the padded conv2d functions or maybe swish. I generate the images from the features just before the global average pooling, with EffNet-B7 the shape of the tensor is 1, 2560, 18, 18. So I figured B0 does not do this, or if I pick some lower level feature tensor again the checkerboard pattern vanishes yet then the focus is on the low features of the images. Anyone have any idea? Does the original implementation has the same problem?

