Closed EgorLakomkin closed 9 years ago
I had the same error and I reshape the y array and work just fine, y = y.reshape((X, 1)) before doing this the shape was (X,) and after (X, 1)
This also happens if you have regression = True while trying to do classification
Thanks for your comments.
I use the tutorial http://danielnouri.org/notes/2014/12/17/using-convolutional-neural-nets-to-detect-facial-keypoints-tutorial/ as reference and try to make simple model like net1 with one hidden layer.
When I am fitting the batch with shape images(512, 65536) and (512, ) labels, I get this:
Using gpu device 0: Quadro 600 Starting batch InputLayer (None, 65536) produces 65536 outputs DenseLayer (None, 100) produces 100 outputs DenseLayer (None, 5) produces 5 outputs
I have no idea where shape '128' came from? What might go wrong here?
Network:
Training cycle is trivial: