How to add exra two layer to existing VGG?Please provide the code sample.
i didnt get you,give us an example
@sai_tharun In trained Vgg contains 1000 classes but if I want to restrict it to 10 classes how to do that?
vgg.classifier[6] = nn.Linear(in_features, 10)