pytorch/opacus

Some issue with loading model with 'weight' as opposed to 'pretrained=True'

aymuos15 opened this issue · 1 comments

  1. net = resnet18(weights=ResNet18_Weights.IMAGENET1K_V1) #new pytorch style
  2. net = 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!)

What is the error message?