I'm trying to construct a binary classifier with a neural network on some images using Lasagne. The training and validation loss fluctuate wildly (and do not settle) and the validation accuracy is always at 0%
. Furthermore, the network always predicts the target as 1
for the test set.
The network I am using is basically just a copy of Lasagne's example for the mnist dataset found here, but adapted for my images which are quite a bit larger (509 x 115
) with around 400
images in the training set. I am wondering if this is a problem, and if the network may need to be deeper / have more neurons?
Do I need a larger training set for this size of image? Or should I be seeing some, albeit inaccurate, set of predictions for my test set?