-
Hi, all I want to use cam to generate heatmaps, from a model that produces a feature vector instead of a classification. Can I do that by cam? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Hey @curefate 👋 Interesting paper, thanks for sharing! Could you be more specific about the part you're asking about in the paper? 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 thoughts! |
Beta Was this translation helpful? Give feedback.
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…