Advanced AI Explainability for computer vision. Support for CNNs, Vision Transformers, Classification, Object detection, Segmentation, Image similarity and more.
In the Readme you have shown the result of Combining Grad-CAM with Guided Backpropagation for the pug dog class.
May I please as for the help how can I do the same in these lines?
Hi,
In the Readme you have shown the result of Combining Grad-CAM with Guided Backpropagation for the pug dog class. May I please as for the help how can I do the same in these lines?
cam = GradCAM(model=model, target_layers=target_layers, use_cuda=args.use_cuda)
grayscale_cam = cam(input_tensor=input_tensor, target_category=target_category)