How to extract features of an image from a trained model

resnet18 doesn’t have a classifier field, and the solution I gave was for vgg.

2 Likes