deep-learning-with-python-notebooks icon indicating copy to clipboard operation
deep-learning-with-python-notebooks copied to clipboard

The model from first conv2d example doesn't train well.

Open PPrasai opened this issue 6 years ago • 2 comments

The model built in 5.1-introduction-to-convnets.ipynb does not train at all. The training accuracy stays at around 0.09

PPrasai avatar Jun 27 '19 09:06 PPrasai

However adding a MaxPooling2D(2,2) after the last Conv2D layer trains the model well.

PPrasai avatar Jun 27 '19 09:06 PPrasai

Hi. Even after adding the MaxPooling2D(2,2) i still get a model that achieves a max accuracy of 0.91 and then drops back to 0.73 within the first epoch and then its backwards to 0.09 when all 5 epochs have been completed. Funny that on Google Colab the code runs perfectly and the model achieves a final accuracy of 98.84%.

I have been stuck at this stage the past 3 days. Is there something else i can try?

RorisangSitoboli avatar Sep 17 '19 08:09 RorisangSitoboli