How to get feature map from pre-trained Resnet50

You could use forward hooks to get the activation maps as described in this example.

1 Like