The kernel appears to have died. It will restart automatically


(RAMJEE R) #1

Hi,

Need some help. i’m stuck with the message of "The kernel appears to have died. It will restart automatically.’ when i run the following code on jupyter notebook (on my fast ai machine). I’m using papersource fast ai machine… can someone please help if you have faced similar issue in the past.

from keras.models import Sequential
from keras.layers import Dense
from keras.optimizers import Adam
import keras.backend as K


(RAMJEE R) #2

I read somewhere that I may need to uninstall the tensorflow to fix the issue and ran the following command to make it work. Thanks.

pip install tensorflow==1.5


(Nikita) #3

Thanks, It helps me with additional upgrading numpy module
pip install --upgrade numpy
(I’m using paperspace )
p.s. Also further in lesson3 it was explained , that following line would be enough to solve this issue:
pip install tensorflow-gpu keras


(sai vaibhav) #4

Worked thanks!


(Anil Gaikwad) #5

gfyyugk,gy