Open carlamao opened 3 years ago
@carlamao That's not how you should be loading models in our library. You should instead be doing this
from robustness import model_utils, datasets
ds = datasets.ImageNet(PATH)
model, checkpoint = model_utils.make_and_restore_model(arch='densenet121', dataset=ds)
And this should load densenet121
fine.
Is the documentation up to date? Because i cant seem to load 'densenet121' using this code, which works for resnet50:
When I try to run
I get the following error