Mask is based on grad-cam #314
-
Hi everyone , Surprisingly I struggle to create mask based on grad-cam output . Any code snippet on this ? |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 1 reply
-
Hi, i'm doing exactly this. |
Beta Was this translation helpful? Give feedback.
-
Hi! For every other question please ask me, and don't forget to star my repo! Thanks. |
Beta Was this translation helpful? Give feedback.
-
Thanks , Christian . Great work !!! I have a question . What the usage of filter in "Create an example of a filter to see the applications of created mask" section . Why using original image isn't enough as it happens in "Isolating the img area using mask" section. I wanted to put the question on your repo , but I don't see "Discussion" tab there. |
Beta Was this translation helpful? Give feedback.
Hi!
As i said yesterday i prepare a .ipynb for this task.
Check my fork of this repo at https://github.com/CristianCosci/pytorch-grad-cam.git and go to
personal_files/
folder and see thegrad_cam_operations.ipynb
notebook.I created it to use as an example of applications of a filter only in the area returned by a grad_cam as mask. I think it is exactly what you need.
For every other question please ask me, and don't forget to star my repo! Thanks.