Reputation: 21
When I run import keras
in the Jupyter Notebook cell, it crashes with the following message:
The kernel appears to have died. It will restart automatically.
Keras 2.2.0
jupyter 1.0.0
jupyter-client 5.2.3
jupyter-console 5.2.0
jupyter-core 4.4.0
jupyterlab 0.32.1
jupyterlab-launcher 0.10.5
Python 3.6.6
Console import log
kraamis@debian [~]$ python3
Python 3.6.6 (default, Jun 27 2018, 14:44:17)
[GCC 8.1.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import keras
/usr/lib/python3/dist-packages/h5py/__init__.py:36: FutureWarning: Conversion of the second argument of issubdtype from `float` to `np.floating` is deprecated. In future, it will be treated as `np.float64 == np.dtype(float).type`.
from ._conv import register_converters as _register_converters
Using TensorFlow backend.
Illegal instruction
tensorflow 1.9.0
tensorflow-gpu 1.9.0
tensorflow-tensorboard 1.5.1
Upvotes: 1
Views: 1456
Reputation: 21
The problem was that my obsolete processor did not support AVX. It was necessary to install the version of tensorflow no older than 1.5
Upvotes: 1