Skip to main content
Open In Colab Convolutional neural networks are often called “black boxes”, but there are principled techniques to inspect what they have learned. This section demonstrates four complementary interpretability methods using a pretrained ResNet-50 on ImageNet. All four methods use PyTorch hooks, no model modification required.
Output from cell 2
Output from cell 3
Output from cell 4
Output from cell 5
Output from cell 6

PyTorch reference