pytorch-gradcam-resnet50
pytorch-gradcam-resnet50 copied to clipboard
raise NotImplementedError
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
请问解决了吗?