-
-
File "H:/codefile/personal/yolov5/pytorch-grad-cam-master/my_cam.py", line 144, in
reshape_transform=None)
TypeError: EigenCAM() takes no arguments
I found that the 'fasterrcnn_reshape_tra…
-
in the class of `FasterRCNNBoxScoreTarget`, you initialized it with the labels and bounding_boxes that are obtained from function `predict` ---->` targets = [FasterRCNNBoxScoreTarget(labels=labels, bo…
-
`if __name__ == '__main__':
""" python vit_gradcam.py -image-path
Example usage of using cam-methods on a VIT network.
"""
args = get_args()
argss = get_parser().parse_args…
-
Hello @jacobgil
Thanks a lot for these awesome repositories :)
is it possible to access the ViT backbone of pretrained DINO network and then explain it with grad-cam methods?
Probably accessing …
-
I' currently facing a strange behaviour when using GradCam for my tuned model. When I Fine-tune it from scratch everything works fine, but when I do Feature Extraction I get the mentioned error.
My…
-
Hi, thank you for providing an open-source implementation for your work. I am trying to build on top of it to visualize my Resnet-18 encoder for the Image captioning task. It is an encoder-decoder arc…
-
My code:
`if __name__ == '__main__':
""" python swinT_example.py -image-path
Example usage of using cam-methods on a SwinTransformers network.
"""
label_map_path = '../…
-
Hello, when I try to run the script bellow I get an IndexError: tuple index out of range and I am not quite sure why.
`from pytorch_grad_cam import GradCAM, ScoreCAM, GradCAMPlusPlus, AblationCAM,…
-
Hi,
I tried to use grad cam and followed your example. Unfortunately I get the following error:
"element 0 of tensors does not require grad and does not have a grad_fn"
Any suggestions would …