If they have the same number of layers, I know that How to load part of pre trained model? 156 works.
However, if my new model has m+n layers and my old model has m layers, pytorch will complain about missing layers. How should I load the model then?