Was this model predicting other classes before?
If so, how many classes were used during training and validation and how was the training and validation accuracy, repectively?
Were you working with an imbalanced dataset? If so, could you post the class distribution?
PS: Variables are deprecated since PyTorch 0.4 and you should not use the .data attribute, as it might have unwanted side effects.