How can I access intermediate layers from resnet50 53?
>>> list(models.vgg16().features)
[Conv2d(3, 64, kernel_size=(3,3), ... #list all layers
>>> list(models.resnet50().features)
AttributeError: 'Resnet' object has no attribute 'features'

And thats true, it 51 doesn’t have attribute ‘features’ unlike vgg 18.
Thank you.