Solved by ptrblck in post #2 
              
              
                To get the probabilities, you should probably use probs = F.softmax(outputs, dim=1), since you are using nn.CrossEntropyLoss as the criterion which means your output should have the shape [batch_size, 2] (used in a multi-class classification).