Skip to content

How can I generate heatmap without category index #249

Closed Answered by frgfm
curefate asked this question in Q&A
Discussion options

You must be logged in to vote

Hey @curefate 👋

Interesting paper, thanks for sharing! Could you be more specific about the part you're asking about in the paper?
This library is meant to accommodate as many CAM methods as possible in a flexible way. In most of the papers, the CAM is queried with a model + an input + class index. This class index can be informed by the model output (top1 class index for instance) or by other things similar to what the paper seems to be diving into.

I'd need to spend more time on the paper to fully understand it, but it looks like on Figure 3, they're using the class activation map on conv5 of the GT class. If that's the case, they're indeed passing the class index

Let me know your thoug…

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@curefate
Comment options

@frgfm
Comment options

Answer selected by frgfm
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
question Further information is requested awaiting response
2 participants