Just for others,
Depending on the saving options, my code also works. Just in below way:
pretrained_model = torch.load('trainedModel.pth')
model = resnet50(pretrained=False)
model.load_state_dict(pretrained_model.state_dict(),strict=False)