Transfer learning of weights to one model to another

You could adapt this code snippet and set your condition to the layer names you would like to copy.