rohban-lab / Knowledge_Distillation_AD

82 stars 46 forks source link

ValueError: Unknown value 'vgg16-397923af.pth' for VGG16_Weights. #14

Open William9Baker opened 1 year ago

William9Baker commented 1 year ago

When it runs to ' features = list(vgg16('vgg16-397923af.pth').features)', the error in the title is reported.

SMSD75 commented 11 months ago

The code has become quite old by now. So if you report the error probably I can help you more, but generally, you should be careful about the backward compatibility of the libraries.