Solved by ptrblck in post #2 
              
              
                nn.BCEWithLogitsLoss expects logits, which can be interpreted as unnormalized probabilities. In your current model you are using F.relu as the last non-linearity, which I would remove to allow positive as well as negative logits. Once this is done, use a default cutoff of 0.0 to get the predicted cl…