Kernel dies when trying to fit the CNN Model


I am trying the build a CNN model for face recognition using Anaconda Jupyter Notebook. The following versions are used:


The following code was run to fit the CNN model., steps_per_epoch=30, epochs=10, validation_data=test_set, validation_steps=10)

But the kernel dies giving the message ‘The kernel appears to have died. It will restart automatically’. Reinstalling numpy & mlk worked once, but not works anymore.

How could I fix this?


Creating a new Python 3.7.13 environment in Anaconda and installing the packages Tensorflow, Keras, Pillow worked!

Answered By – Dakshila Kamalsooriya

This Answer collected from stackoverflow, is licensed under cc by-sa 2.5 , cc by-sa 3.0 and cc by-sa 4.0

Leave a Reply

(*) Required, Your email will not be published