ScoreCAM icon indicating copy to clipboard operation
ScoreCAM copied to clipboard

the re-implementation of Score CAM with pytorch

Results 5 ScoreCAM issues
Sort by recently updated
recently updated
newest added

I found out that the ScoreCAM code is not set for batched inputs. This is my attempt to fix this thing: ```python def forward(self, x): with torch.no_grad(): B, _, H,...

For MobileNet_V2, and EfficientNet_B1, I am getting this AttributeError. I used(line 63, cam.py) for weight_fc `self.model._modules.get('classsifier').parameters())[0].to('cpu').data`

> cam, idx = wrapped_model(tensor) I get the following error at this step (no changes made to the notebook) : RuntimeError: size mismatch, m1: [1 x 30720], m2: [512 x...

@yiskw713 hi thanks for opensourcing the code , can we use ScoreCAM for models like MaskRCNN/Deeplab and FasterRCNN,Yolov2, RetinaNet

In your scorecam implementation, why are you normalizing all the activations together? Why not normalize each activation map independently in a loop? Are these two the same?