Determining why jupyter notebook kernel dies can be daunting sometimes. When kernel dies as a result of library issues, you might not get any feedback as to what is causing it. Try running the code that is causing the kernel to die in a terminal or in ipython. One common issue I have identified is the use of SSE4.1 in later versions of tensorflow, which gives this error:
TensorFlow library was compiled to use SSE4.1 instructions, but these aren't available on your machine. Aborted (core dumped). This will cause the kernel to die if you are using tensorflow in your code and not display any error in notebook. If this is the case, uninstall tensorflow and install with conda:
conda install tensorflow==1.12.0, for instance.
Determining why jupyter notebook kernel dies can be daunting sometimes. When kernel dies as a result of library issues, you might not get any feedback as to what is causing it. Try running the code that is causing the kernel to die in a terminal or in ipython. One common issue I have identified is the use of SSE4.1 in later versions of tensorflow, which gives this error:
TensorFlow library was compiled to use SSE4.1 instructions, but these aren't available on your machine. Aborted (core dumped). This will cause the kernel to die if you are using tensorflow in your code and not display any error in notebook. If this is the case, uninstall tensorflow and install with conda:
conda install tensorflow==1.12.0, for instance.
You can try reinstall Jupyter,
pip uninstall jupyter
pip install jupyter
and try again, which works in my case. I had this problem when I upgrade to Ubuntu 18.04.
Also check this thread. https://github.com/jupyter/notebook/issues/1892
My script is running on a directory that has 30k sound files, that is converting the sound into spectrograms. Not sure, what is going on. Any thoughts?