Tensorflow error: Aborted (core dumped)

alduxvm New Member Posts: 5

Hi all,

Using Ubuntu 16.04 or 18.04, python3 and tensorflow 1.12 (installed with pip3)
pip3 install tensorflow

When attempting to import the module, it crashes, the output is:

Python 3.6.7 (default, Oct 22 2018, 11:32:17) 
[GCC 8.2.0] on linux
Type "help", "copyright", "credits" or "license" for more information.

      import tensorflow

2018-12-12 11:28:20.086891: F tensorflow/core/platform/cpu_feature_guard.cc:37] The TensorFlow library was compiled to use AVX instructions, but these aren't available on your machine.
Aborted (core dumped)

This happens in the UP squared and in the UP board.

The only way I was able to make it work was installing tensorflow 1.5 pip3 install tensorflow==1.5

Does anyone have any idea why this is happening?



  • DCleri
    DCleri Administrator, AAEON Posts: 1,213 admin

    Recent tensorflow versions require the SoC to include AVX extensions which are not available on Cherry Trail and Apollo Lake based platforms (like UP and UP Squared).
    Downgrading to tensorflow 1.5 is the best solution so far.