pytorch-grad-cam icon indicating copy to clipboard operation
pytorch-grad-cam copied to clipboard

Questions about the implementation of Grad-CAM++: The second and third order derivatives

Open hxngu opened this issue 8 months ago • 4 comments

#541 When I try to learn how to get hessian matrix I find the implementation of Grad-CAM++ just used grads_power_2 = grads**2 and grads_power_3 = grads_power_2 * grads to get the second and third order derivatives. Is that correct? The formula in original paper is listed below.

Image

hxngu avatar Feb 20 '25 04:02 hxngu