Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

show heatmaps for 3DCNN #7

Open
emily19941102 opened this issue Apr 25, 2019 · 8 comments
Open

show heatmaps for 3DCNN #7

emily19941102 opened this issue Apr 25, 2019 · 8 comments

Comments

@emily19941102
Copy link

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

@adityac94
Copy link
Owner

adityac94 commented Apr 25, 2019 via email

@emily19941102
Copy link
Author

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

@anirbansarkar-cs
Copy link
Collaborator

anirbansarkar-cs commented Apr 25, 2019

@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)

@emily19941102
Copy link
Author

@tataiani wow ,Thank you very much!

@leelbc
Copy link

leelbc commented Jan 9, 2021

@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
Copy link

leelbc commented Jan 10, 2021

@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

@JackDanHollister
Copy link

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

@emily19941102
Copy link
Author

emily19941102 commented Oct 8, 2022 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants