So I assume that you have saved the model in pth file after training for 15 epochs.
I am not sure from which layer you want to extract features.
model(input) will provide the features or output from the last layer.
For getting features from intermediate layer you can explicitly return in forward function of the model.
or you can get features using the layer variable names.
model = new_model(output_layer = ‘layer4’)
or
new_classifier = nn.Sequential(*list(model.children())[:-1])