Thanks for your reply Conrad.
If I understand it right, first I need to load the Resnet50 model and then load the pre-trained weights to this model.
So, according to your answer and with the code that you mentioned, with the following code I have the Resnet50 model with the MoCo pre-trained weights:
l813×287 12.5 KB