In case someone has this problem, I wrote a function to load pretrained weights, which can ignore ‘module.’ and different layer names https://github.com/KaiyangZhou/deep-person-reid/blob/master/torchreid/utils/torchtools.py#L104 528. Can be used directly by copy and paste.