Hi,
I’m trying to load a model that I saved with fastai (using resnet34 base architecture and save function).
model_path = '../input/resnet34-ship-clf/Resnet34_clf_256x256_1ep.pth'
model = nn.Sequential(models.resnet34())
pretrained_weights = torch.load(model_path)
model.load_state_dict(pretrained_weights, strict=False)

I’ve got the error message : _IncompatibleKeys(missing_keys=['0.conv1.weight' ...
Pre-trained weight names are in the form : 'x.x.x.conv1.weight'
What should I do during loading to get same names ?
Thanks