Closed reedv closed 6 years ago
Running (keras-dist_test) ➜ examples git:(master) ✗ jupyter nbconvert --to python workflow.ipynb
to get a .py file for running the workflow example outsided of jupyter notebook. The running the resulting script shows the error:
(keras-dist_test) ➜ examples git:(master) ✗ python workflow.py
Using TensorFlow backend.
[1] 333 illegal hardware instruction (core dumped) python workflow.py
when importing keras.
Following the solutions desccribed here (https://stackoverflow.com/a/49388337/8236733) and here (https://github.com/tensorflow/tensorflow/issues/17411#issuecomment-370260582) worked for me.
pip install tensorflow=1.5
Still wondering if anything else can be done that avoids downgrading. Will tensorflow 1.5 still be enough to use all of the functionality of dist-keras?
System: OS: CentOS7 spark version: 2.1.0 py4j version: py4j-0.10.4 installed via
pip install -e .
, see https://github.com/cerndb/dist-keras#git--pipWhen running the example workflow, the jupyter kernel reports it has died and restarts automatically whenever interpreter gets to the section
or
Looking at the jupyter notebook server output during this time shows not error messages (only that the kernel is restarting).