Create CAM from multiple channels
Closed this issue · 3 comments
kartik1395 commented
How can we create cam from a layer that has more than 1 channels ?
KangBK0120 commented
As far as I know, the basic concept of CAM is having channels as many as the number of classes to classify in the last layer.
So could you explain more about "multiple channels"?
kartik1395 commented
I wanted to make CAM not on the last conv layer of the network but on an intermediate layer. However I realized this is the drawback of CAM. Instead I can use Grad-CAM. Thanks for the easy implementation of CAM though!!
KangBK0120 commented
Thanks for the comment and have a nice day!