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

plt.get_cmap #81

Closed
W4ngH4o opened this issue Oct 10, 2022 · 3 comments
Closed

plt.get_cmap #81

W4ngH4o opened this issue Oct 10, 2022 · 3 comments

Comments

@W4ngH4o
Copy link

W4ngH4o commented Oct 10, 2022

When I utilize Grad_cam to visualize, the localization_map is not all 0. But after plt.get_cmap, the heatmap is all 0, which leads the visualization is black. I am confused and looking forward to your reply. Thanks so much.

图片

@Andy1621
Copy link
Collaborator

Andy1621 commented Oct 10, 2022

I'm not sure what problem you met. For your question, since the visualization is forked from PySlowfast, I suggest you open an issue in their repo.

For my visualization, I use this repo.
Since it is designed for images, for videos, I use grad_cam in each frame, and interpolate the heatmap if the frames are downsampled.

@W4ngH4o
Copy link
Author

W4ngH4o commented Oct 11, 2022

I'm not sure what problem you met. For your question, since the visualization is forked from PySlowfast, I suggest you open an issue in their repo.

For my visualization, I use this repo. Since it is designed for images, for videos, I use grad_cam in each frame, and interpolate the heatmap if the frames are downsampled.

Thanks for your suggestion. I have resolved my problem.

@Andy1621
Copy link
Collaborator

As there is no more activity, I am closing the issue, don't hesitate to reopen it if necessary.

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

2 participants