take a smallish sample of your data and train it for 100 epochs, use colab or something to speed it up.  plot using matplotlib and send out a graph, plus you dont need to flatten your output to use bcewithlogitsloss, try to use input to loss as (batch_size, 2) instead of (batch_size*2)