I am running into this same issue when running:
model.load_state_dict(torch.load('previous_dict.pt'))
I train a model for a few epochs, then try to continue training and this issue happens. Same error code.