Hi, I am trying to take a pre-traied ResNet, keep the original classifier, but also add a new classifier (randomly initialized) on top of the last CONV layer such that the CONV layer part of the pre-trained network simultaneously feed both classifiers (original with pre-trained weights and new with random weights). Then train the entire network by adding up the losses.
I don’t know how to add the new classifier to an existing pre-trained network (or basically how to write a model with two classifiers). Can anybody please help me with a hint?
Thanks so much.