idiap / fullgrad-saliency

Full-gradient saliency maps
Other
201 stars 31 forks source link

Question about SmoothFullGrad #12

Closed alfredonuhe closed 2 years ago

alfredonuhe commented 2 years ago

Why is it possible to determine the image size for FullGrad but not for SmoothFullGrad?

https://github.com/idiap/fullgrad-saliency/blob/26fb91b2f9ef616d15d080644b9f8a656a68204f/saliency/smooth_fullgrad.py#L30 https://github.com/idiap/fullgrad-saliency/blob/26fb91b2f9ef616d15d080644b9f8a656a68204f/saliency/fullgrad.py#L20

Thank you

suraj-srinivas commented 2 years ago

Hi, I think that was just oversight. I have corrected this now. Thanks for bringing it up!