haofanwang / Score-CAM

Official implementation of Score-CAM in PyTorch
MIT License
399 stars 66 forks source link

Which layer's feature should be used? #24

Closed kai-wen-yang closed 2 years ago

kai-wen-yang commented 2 years ago

Hi, I want to visualize my datasets on ResNet50. I wonder which layers' feature map should be used. My data's resolution is 28x28.

haofanwang commented 2 years ago

You can refer this. In most cases, you can use the last layer before pooling.

kai-wen-yang commented 2 years ago

Thanks, the last layer is good.