Closed zerovirus123 closed 2 years ago
It is because of the nested layers, you have to select the conv layers within the residual layers. You can modify two or three lines of code and make it compatible with resnets or other non-vgg-like models. Check previously closed issues, if I remember correctly, there was some code that had resnet compatibility.
The reason it is not supported out of the box is because If I push some code that support resnets, there will be someone asking support for inceptions, then for densenet, then for vit, then for mxnet, then for deit. You see how this spirals out of control. Eventually, this repository is going to have more code about models than the techniques themselves.
Hi, thanks for the great work. Does this codebase support non-VGG models? For example, I tried to generate GradCams for ResNet architectures, but failed because the ResNet models do not have the feature attributes.