Jacob Gildenblat

Results 103 comments of Jacob Gildenblat

Use this as a target: https://github.com/jacobgil/pytorch-grad-cam/blob/master/pytorch_grad_cam/utils/model_targets.py#L26

Let's see. Can you assume the heatmaps of the 3 cats don't overlap with each other? If we can assume that, we could just find the global heatmap for the...

Hi, - It's not that they can't be used, it's just that not all object detection frameworks expose the ability to compute gradients. When that's the case, it's more convenient...

Better later than never, this was merged, thank you for the contribution!

Hi, thanks a lot for reporting this. Yes this is a bug - when category is 1 but the model output is negative, the output will be negative, and the...

edit: I wrote a long response but I want to be extra sure, so will get back to this:)

First, thanks for the response and the discussion here, it's helpful i'm getting double checked here. I think CAM methods can work with negative values in the output of the...

What is the exact layer that you used ? The output from ViT is composed of tokens + the cls token. The classification is done on the cls token. This...

Hi, Can you clarify what you mean by not having a feature map. You still have access to the resnet network, no? If so, if you have a model that...

Hi, use_rgb should be True if the input image is in RGB, and false if in BGR. In your case the image is both RGB and BGR (because the the...