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.
During the reproduction of the blog: [https://jacobgil.github.io/pytorch-gradcam-book/CAM%20Metrics%20And%20Tuning%20Tutorial.html#road-remove-and-debias], I found the scores calculated by cam_metric using remove and debias is always none. I have located the source of the error, the...
some networks is trained to extract features so that they have no classifier module (like arcface, it is based on iresnet, but pretrained model is trained without classfier), their output...
Hey Jacob, I have been trying to use your notebook of Rcnn for the object detection model (Retinanet in my case). Here is the implementation that I use(FASTAI): ``` backbone...
I have trained two variations of an EfficientNet-B2 network on the following dataset. [COVID-19 Radiography Database](https://www.kaggle.com/datasets/tawsifurrahman/covid19-radiography-database) - Network 1: One structured as “conv layers - GAP layer - raw class...
For the `inception_v3` model in `torchvision.models`, FullGrad attribution arises the AssertionError about "assert(len(self.bias_data) == len(grads_list))"; I find that the `len(self.bias_data)` is 96 while `len(grads_list)`is just 94 when steps into the...
Hi, Thanks for all your work for implementing and summarizing the Grad-CAM related methods. It is fun and helpful to understand multiple methods. I have doubts about the Grad-CAM ++...
Hey there, Im my research I need to generate a lot of GradCAM heat-maps which I then do further processing on. Im using the `GradCAM` class as I dont need...
Hi, I wonder how to get a transparent visualization heatmap that was used for the animation of detecting the dog in the README.md file?
Hi, when I was visualizing the ViT, I couldn't get the correct visualization when the last block was the target layer. The output gradient is shown in the figure below....
Hi. Thanks a lot for your open-source library. I currently have `grad-free` and `grad-cam` support in [MMYOLO](https://github.com/open-mmlab/mmyolo/pull/234), but I'm not sure if the grad-cam implementation is correct. I found that...