Pretrained Resnet

I’m trying to use pretrained resnet50.

net = resnet50.resnet50(pretrained=True)

urllib.error.URLError: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1056)>

So I downloaded resnet model from here (‘’)
and loaded like this.
Is it correct way to use pretrained resnet50 model?

net = resnet50.resnet50(pretrained=False)

Could you retry the download again, please?
I just tried to download the pretrained model using the first (and right) approach and it worked fine for me.

Same problem.
Maybe pytorch version is old. I’m using 1.1.0 v.

Anyway, what I got from above link is the pre-trained model?

That should be the right state_dict, yes.