Skip to content
This repository has been archived by the owner on Jun 9, 2021. It is now read-only.

The kernel appears to have died. It will restart automatically. #51

Open
silverswingkiller opened this issue Dec 4, 2020 · 19 comments
Open

Comments

@silverswingkiller
Copy link

After modifying the name of the installation package, I successfully created a virtual environment with the official script and installed tensorflow, but when I use jupyter to run the code, it still fails to run。The kernel appears to have died when i training

@anna-tikhonova
Copy link
Collaborator

Thank you for reporting this issue. We will experiment with Jupyter notebooks.

@icenando
Copy link

icenando commented Dec 5, 2020

After modifying the name of the installation package, I successfully created a virtual environment with the official script and installed tensorflow, but when I use jupyter to run the code, it still fails to run。The kernel appears to have died when i training

I was having the same issue. Apparently it's an architecture (chip) issue. If you run jupyter from terminal and observe the terminal, it will show you what the kernel is doing. Mine was giving me a "wrong architecture" error (or something like that) before the kernel died. I was using a Tensorflow 2.0 though, so I assumed that it didn't work with my Mac M1. I since then haven't been able to install the arm version of Tensorflow (see issue 48)

@jmbernabotto
Copy link

I have the same issue @icenando. It's a disappoint ! I was waiting before to buy an MacBook Pro or Air M1. So, if I can't work with it, I will wait again...

@jmbernabotto
Copy link

@anna-tikhonova : some news about Jupiter notebook experiment ?

@dmmajithia
Copy link

@silverswingkiller can you post your model summary/architecture?
Also, have you tried training the model from #25 ?

@seongilp
Copy link

seongilp commented Dec 9, 2020

please refer to below links

@jmbernabotto
Copy link

jmbernabotto commented Dec 9, 2020 via email

@anna-tikhonova
Copy link
Collaborator

@silverswingkiller Could you let me know if the discussion in #45 helps?

@maeverst
Copy link

I am receiving the same error (Kernel appears to have died...) when I launch jupyter notebook from the terminal. This just started happening.

Does anyone know why please?

@vitdegtyarev
Copy link

I'm getting the same error ("The kernel appears to have died. It will restart automatically") on Windows when I run the "import keras" or "import tensorflow" command. The commands worked fine about a week ago. Not sure what has changed.

@icenando
Copy link

icenando commented Jan 4, 2021

Same here. It was fine until about 2 weeks ago, when I last tested.

@vitdegtyarev
Copy link

I resolved this by updating hdf5 to 1.10.5.
conda install -c conda-forge hdf5=1.10.5

@asima-azmat
Copy link

I am having the same issue when I run the cell where I am training my network.

@asima-azmat
Copy link

Adding following lines in my notebook helped me:
import os
os.environ['KMP_DUPLICATE_LIB_OK']='True'

@asima-azmat
Copy link

Installing nomkl also works.

@borinmin
Copy link

borinmin commented Apr 6, 2021

My experience on Linux, I killed and reopened Jupyter was fine.

@kartikeypro
Copy link

I have tried everything mentioned in this thread to resolve this issue but no success. If anyone has resolved this problem please share.

@kartikeypro
Copy link

I have solved this issue by creating the environment after deactivating the base, which can be done using "Conda Deactivate".

@kartikeypro
Copy link

kartikeypro commented Apr 28, 2021

I started to face this issue again when I downloaded Keras over the top of tensorflow. So, I deleted the Keras package and downloaded tensorflow again, in virtual environment. tensorflow model worked fine after that.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests