Grad_CAM_plus_plus icon indicating copy to clipboard operation
Grad_CAM_plus_plus copied to clipboard

show heatmaps for 3DCNN

Open emily19941102 opened this issue 6 years ago • 8 comments

I ran through your code and found that the map is dark. How can it become a heat map?thanks! @adityac94

emily19941102 avatar Apr 25 '19 03:04 emily19941102

Hi, Which code did you exactly run, for 3DCNNs? You mean the code on GitHub gives dark heat maps?

Thank you, Aditya

On Apr 24, 2019, at 23:34, emily19941102 [email protected] wrote:

I ran through your code and found that the map is dark. How can it become a heat map?thanks! @adityac94 https://github.com/adityac94 — You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/adityac94/Grad_CAM_plus_plus/issues/7, or mute the thread https://github.com/notifications/unsubscribe-auth/AG3XGILVYLPTCNWGX6WGXRDPSERFFANCNFSM4HIJPEGA.

adityac94 avatar Apr 25 '19 03:04 adityac94

Sorry, I just found out that the code is test_model.py. The prominent part of the map is white and the rest is black.I want to turn it into a colorful heat map, thanks! @adityac94

emily19941102 avatar Apr 25 '19 06:04 emily19941102

@emily19941102 ...while saving the frames, to turn it into colorful heat map, you can replace the line vid_gd_img_mod = X[i] \times vid_cam_mod with the below line vid_gd_img_mod = cv2.applyColorMap(np.uint8(255 \times vid_cam_mod), cv2.COLORMAP_JET)

anirbansarkar-cs avatar Apr 25 '19 07:04 anirbansarkar-cs

@tataiani wow ,Thank you very much!

emily19941102 avatar Apr 25 '19 07:04 emily19941102

@emily19941102 ...while saving the frames, to turn it into colorful heat map, you can replace the line vid_gd_img_mod = X[i] \times vid_cam_mod with the below line vid_gd_img_mod = cv2.applyColorMap(np.uint8(255 \times vid_cam_mod), cv2.COLORMAP_JET)

Hi, I'm sorry to bother you, I found that the map is still black and white after I modified it according to your code

leelbc avatar Jan 09 '21 12:01 leelbc

@emily19941102 ...while saving the frames, to turn it into colorful heat map, you can replace the line vid_gd_img_mod = X[i] \times vid_cam_mod with the below line vid_gd_img_mod = cv2.applyColorMap(np.uint8(255 \times vid_cam_mod), cv2.COLORMAP_JET)

Hi, I'm sorry to bother you, I found that the map is still black and white after I modified it according to your code

Sorry, it was due to my carelessness, the problem has been solved now, thanks

leelbc avatar Jan 10 '21 01:01 leelbc

Did you get the heat map working with the 3DCNN in the end @leelbc? I am interested as I am about to try it

JackDanHollister avatar Oct 08 '22 21:10 JackDanHollister

    您好,我已收到您的邮件。我会尽快处理,给您回复。

emily19941102 avatar Oct 08 '22 21:10 emily19941102