13o-bbr-bbq / machine_learning_security

Source code about machine learning and security.
1.96k stars 645 forks source link

Illegal instruction #44

Closed shad0w12 closed 4 years ago

shad0w12 commented 5 years ago

When I run python3 main.py TRAIN I get the following error: /$PATH/lib/python3.6/site-packages/sklearn/externals/joblib/externals/cloudpickle/cloudpickle.py:47: DeprecationWarning: the imp module is deprecated in favour of importlib; see the module's documentation for alternative uses import imp Using TensorFlow backend. Illegal instruction

13o-bbr-bbq commented 5 years ago

Did you install the TensorFlow?

hamidb commented 5 years ago

Probably your CPU does not support specific instructions against which Tensorflow is built. Like AVX, FMA, etc. Try to find a .whl corresponding to your CPU architecture. Or build Tensorflow from source.