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
Thanks for this great and easy to use implementation of meaningful perturbation algorithm.
I just have a small question. Could you please help me understand the interpretation of the heatmap. As per my understanding, the heatmap is the same thing as the mask (values between 0 and 1) representing the minimum region in the image that you would suppress to reduce the prediction score maximally.
My understanding that the mask is same as the heatmap is based on the following lines from your code:
On Fri, Apr 19, 2019, 03:51 Naman Bansal ***@***.***> wrote:
Hey Jacob,
Thanks for this great and easy to use implementation of meaningful
perturbation algorithm.
I just have a small question. Could you please help me understand the
interpretation of the heatmap. As per my understanding, the heatmap is the
same thing as the mask (values between 0 and 1) representing the minimum
region in the image that you would suppress to reduce the prediction score
maximally.
My understanding that the mask is same as the heatmap is based on the
following lines from your code:
mask = 1 - mask
heatmap = cv2.applyColorMap(np.uint8(255*mask), cv2.COLORMAP_JET)
heatmap = np.float32(heatmap) / 255
Could you please confirm whether my understanding is correct or is it
something else?
Thanks,
Naman
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#7>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/ABIYG6N5M5ARHY62M36MIJDPREJQPANCNFSM4HHBIBCQ>
.
Hey Jacob,
Thanks for this great and easy to use implementation of meaningful perturbation algorithm.
I just have a small question. Could you please help me understand the interpretation of the heatmap. As per my understanding, the heatmap is the same thing as the mask (values between 0 and 1) representing the minimum region in the image that you would suppress to reduce the prediction score maximally.
My understanding that the mask is same as the heatmap is based on the following lines from your code:
Could you please confirm whether my understanding is correct or is it something else?
Thanks,
Naman
The text was updated successfully, but these errors were encountered: