pytorch-grad-cam
pytorch-grad-cam copied to clipboard
Advanced AI Explainability for computer vision. Support for CNNs, Vision Transformers, Classification, Object detection, Segmentation, Image similarity and more.
Can I use this package with RGBD images? My custom model is a two stream network taking RGB image in one stream and depth image in the other. How can...
Is there a simple way to use models saved with torch.jit.trace ?
An error is reported for the parameter target_category TypeError: __call__() got an unexpected keyword argument 'target_category' When I change the parameter to targets, the error is as follows: TypeError: forward()...
Hello, Thank u for your amazing work. I try to use this repo for 3d Point cloud data classification but fail . Perhaps i miss some important issues , have...
GradCAM is initially devised for CNNs, but can GradCAM be available for Transformer or some other architectures with self-attention?
Running `GuidedBackpropReLUModel.__call__(tensor)` twice in a row on the same tensor produces unexpected results because the method sets `tensor`'s requires_grad to True and does not detach afterward. This causes two unexpected...
GuidedBackpropReLUModel always uses a batch size of 1, this is hard-coded into the implementation eg here: https://github.com/jacobgil/pytorch-grad-cam/blob/2183a9cbc1bd5fc1d8e134b4f3318c3b6db5671f/pytorch_grad_cam/guided_backprop.py#L89 Will the Guided Backprop be broken by batching? I could see how batching...
some scores on different cams (averaged over random 1K images from imagenet val). Insertion (higher is better) and Deletion (lower is better) are metrics that were proposed in the [RISE](https://arxiv.org/abs/1806.07421)...
hey author, thanks for your amazing work. For VIT we have to resize the (197-1) to 14*14 so we can treat it as a feature map of shape [14,14,dim]. However,...