Solved by ptrblck in post #6 
              
              
                Sorry for not seeing it earlier, but _, predictions = torch.max(outputs.data, 1) won’t work if your output only contains a single output unit. 
If your model is defined as: 
binaryClassifier(
  (linear): Linear(in_features=26, out_features=1, bias=True)
)

you should get the prediction from the logi…