I am trying to train a Pytorch LSTM network, but I\'m getting ValueError: Expected target size (2, 13), got torch.Size([2]) when I try to calculate CrossEntropy
ValueError: Expected target size (2, 13), got torch.Size([2])