<All keys matched successfully> means that you were able to successfully load the model parameters in the file. You can do print(model_transfer) and see the architecture. If you can post the code of how you are trying to modify the model then maybe I will be able to point out the exact problem.