pytorch-gradcam-resnet50 icon indicating copy to clipboard operation
pytorch-gradcam-resnet50 copied to clipboard

raise NotImplementedError

Open bigAndSmall opened this issue 4 years ago • 1 comments

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 help me with this problem, thanks

bigAndSmall avatar Dec 03 '20 10:12 bigAndSmall

请问解决了吗?

Jacobxz avatar Feb 22 '22 09:02 Jacobxz