Skip to content Skip to sidebar Skip to footer

Keras Model Not Learning

My Keras model is not learning anything and I can't figure out why. I even reduced the training set size to 5 elements and the model is still not fitting to the training data. los

Solution 1:

It seems to be a regression problem. One thing I noticed is that your last layer still has the ReLU activation function. I would recommend taking the ReLU out at the last layer.

Solution 2:

The last layer of the model has relu activation. Instead, it should have a sigmoid activation function as it is a binary classification problem. If it were a multi class classification problem, you should use softmax activation in that case.

Post a Comment for "Keras Model Not Learning"