Grad-CAM provides us with a way to look into what particular parts of the image influenced the whole model's decision for a specifically assigned label.
It is implemented grad-CAM using Pytorch's hooks.
example code at grad_cam.ipynb
example result at grad_cam_result
grad cam example |
---|