FeatherNets_Face-Anti-spoofing-Attack-Detection-Challenge-CVPR2019 icon indicating copy to clipboard operation
FeatherNets_Face-Anti-spoofing-Attack-Detection-Challenge-CVPR2019 copied to clipboard

RuntimeError in model.load_state_dict(model_dict['state_dict'],strict=False)

Open Jugerr opened this issue 5 years ago • 0 comments

RuntimeError: Error(s) in loading state_dict for DataParallel: size mismatch for module.fish.fish.9.4.1.weight: copying a param with shape torch.Size([1056]) from checkpoint, the shape in current model is torch.Size([1000, 1056, 1, 1]). size mismatch for module.fish.fish.9.4.1.bias: copying a param with shape torch.Size([1056]) from checkpoint, the shape in current model is torch.Size([1000]).

Jugerr avatar Oct 25 '19 06:10 Jugerr