Solved by ptrblck in post #2 
              
              
                In case you are using the same layer names, you could iterate the named_modules in both models and load the state_dict per layer. If that’s not the case, you could create a mapping between the names of the pretrained modelA layers and the modelB layers and do the same. This would avoid the strict=Fa…