Some issue with loading model with 'weight' as opposed to 'pretrained=True'
aymuos15 opened this issue · 1 comments
aymuos15 commented
net = resnet18(weights=ResNet18_Weights.IMAGENET1K_V1)
#new pytorch stylenet = resnet18(pretrained=True)
#opacus tutorial/old style
Would there be any reason for the first one to fail? I get an error while running it but everything is fine for the second version.
Is this happening to anyone else?
Thanks!
(love the library!)
HuanyuZhang commented
What is the error message?