pytorch-gradcam-resnet50
pytorch-gradcam-resnet50 copied to clipboard
CAM图的resnet50版本
Hello, I got the raise NotImplementedError error when in FeatureExtractor(): def __call__(self, x): outputs = [] self.gradients = [] for name, module in self.model._modules.items():##resnet50没有.feature这个特征,直接删除用就可以。 x = module(x) Hope you can...
可以加一下你的微信吗
Hi, Caoliangjie. I was wondering if this work could get gradcam maps from different channels in one layer, let's say **conv5_3 layer** of **ResNet50**. Picture below is from a paper....