You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi @jacobgil. It's a nice work! Thanks to you and all the contributors behind it.
I tried replacing norm1 with block[-1].attn or norm2 without any other changes, but the gradient seems to be 0, as shown below (I test with GradCAM and LayerCAM. And I could get satisfactory result when using norm1). What is the reason for this?
Also, I would like to ask, how to visualize the class token? And how to use CAM in an image containing multiple instances?
original image
result
The text was updated successfully, but these errors were encountered:
Hi @jacobgil. It's a nice work! Thanks to you and all the contributors behind it.
I tried replacing norm1 with block[-1].attn or norm2 without any other changes, but the gradient seems to be 0, as shown below (I test with GradCAM and LayerCAM. And I could get satisfactory result when using norm1). What is the reason for this?
Also, I would like to ask, how to visualize the class token? And how to use CAM in an image containing multiple instances?
original image
result
The text was updated successfully, but these errors were encountered: