Hi,  I have a multi-input model with 3 parallel resnet and I want to just load one of them. I have no idea that how I could make a dictionary of the name of those layers that I want to use and use the code in this forum, How to load part of pre trained model? - #33 by MariosOreo 1.
for key in model_dict:
if  ‘resnet1’ in key:
# print (key)
pretrained_dict.append(key)