I am doing a binary image classification using pytorch and I am using CNN architecture to do that.
In the final layer of architecture - do I need to give number of outputs parameter as “2” or “1”? I placed as 1 and My final target columns have values [0,1,0,0,0,…]
I am getting -ve value predictions for the binary classification problem. Any idea where is the mistake? my train and validation is working fine and showing a decent 75% accuracy.