Closed ZHEGG closed 1 year ago
Hi @ZHEGG :wave:
I imagine you found within the discussions/issues the solution?
If not, you're doing inference and CAM computation with torch.no_grad()
as context. And SmoothGradCampp
as its name implies, is leveraging gradients. So you can switch to an activation-only CAM method or consider removing the no_grad context :)
Cheers!
I have encountered an error when I wish to observe a 3D convolution cam of the model in the uniformer in the video domain
I want to check the cam when testing and my simple examples as follows: