It seems as if the Kaggle notebook has trouble downloading the pretrained state_dict.
Could you try to manually download it via:
wget https://download.pytorch.org/models/resnet18-f37072fd.pth

and load it afterwards via model.load_state_dict(PATH)?