However, I get 'Illegal Instruction' error when I run model.predict() (FYI I am using a keras model)
Here's a snapshot of the gdb trace
**Thread 1 "python" received signal SIGILL, Illegal instruction**.
0x0000007fb504f7a0 in tensorflow::(anonymous namespace)::ExecutorState::Process(tensorflow::(anonymous namespace)::ExecutorState::TaggedNode, long long) () from /root/tf_env/lib/python3.7/site-packages/tensorflow_core/python/_pywrap_tensorflow_internal.so
(gdb) bt
#0 0x0000007fb504f7a0 in tensorflow::(anonymous namespace)::ExecutorState::Process(tensorflow::(anonymous namespace)::ExecutorState::TaggedNode, long long) () from /root/tf_env/lib/python3.7/site-packages/tensorflow_core/python/_pywrap_tensorflow_internal.so
#1 0x0000007fb504f6dc in tensorflow::(anonymous namespace)::ExecutorState::Process(tensorflow::(anonymous namespace)::ExecutorState::TaggedNode, long long) () from /root/tf_env/lib/python3.7/site-packages/tensorflow_core/python/_pywrap_tensorflow_internal.so
#2 0x0000007fb504f6dc in tensorflow::(anonymous namespace)::ExecutorState::Process(tensorflow::(anonymous namespace)::ExecutorState::TaggedNode, long long) () from /root/tf_env/lib/python3.7/site-packages/tensorflow_core/python/_pywrap_tensorflow_internal.so
#3 0x0000007fb504f6dc in tensorflow::(anonymous namespace)::ExecutorState::Process(tensorflow::(anonymous namespace)::ExecutorState::TaggedNode, long long) () from /root/tf_env/lib/python3.7/site-packages/tensorflow_core/python/_pywrap_tensorflow_internal.so
#4 0x0000007fb504f6dc in tensorflow::(anonymous namespace)::ExecutorState::Process(tensorflow::(anonymous namespace)::ExecutorState::TaggedNode, long long) () from /root/tf_env/lib/python3.7/site-packages/tensorflow_core/python/_pywrap_tensorflow_internal.so
#5 0x0000007fb504f6dc in tensorflow::(anonymous namespace)::ExecutorState::Process(tensorflow::(anonymous namespace)::ExecutorState::TaggedNode, long long) () from /root/tf_env/lib/python3.7/site-packages/tensorflow_core/python/_pywrap_tensorflow_internal.so
#6 0x0000007fb504f6dc in tensorflow::(anonymous namespace)::ExecutorState::Process(tensorflow::(anonymous namespace)::ExecutorState::TaggedNode, long long) () from /root/tf_env/lib/python3.7/site-packages/tensorflow_core/python/_pywrap_tensorflow_internal.so
#7 0x0000007fb504f6dc in tensorflow::(anonymous namespace)::ExecutorState::Process(tensorflow::(anonymous namespace)::ExecutorState::TaggedNode, long long) () from /root/tf_env/lib/python3.7/site-packages/tensorflow_core/python/_pywrap_tensorflow_internal.so
#8 0x0000007fb504f6dc in tensorflow::(anonymous namespace)::ExecutorState::Process(tensorflow::(anonymous namespace)::ExecutorState::TaggedNode, long long) () from /root/tf_env/lib/python3.7/site-packages/tensorflow_core/python/_pywrap_tensorflow_internal.so
#9 0x0000007fb504f6dc in tensorflow::(anonymous namespace)::ExecutorState::Process(tensorflow::(anonymous namespace)::ExecutorState::TaggedNode, long long) () from /root/tf_env/lib/python3.7/site-packages/tensorflow_core/python/_pywrap_tensorflow_internal.so
#10 0x0000007fb504f6dc in tensorflow::(anonymous namespace)::ExecutorState::Process(tensorflow::(anonymous namespace)::ExecutorState::TaggedNode, long long) () from /root/tf_env/lib/python3.7/site-packages/tensorflow_core/python/_pywrap_tensorflow_internal.so
#11 0x0000007fb504f6dc in tensorflow::(anonymous namespace)::ExecutorState::Process(tensorflow::(anonymous namespace)::ExecutorState::TaggedNode, long long) () from /root/tf_env/lib/python3.7/site-packages/tensorflow_core/python/_pywrap_tensorflow_internal.so
#12 0x0000007fb504f6dc in tensorflow::(anonymous namespace)::ExecutorState::Process(tensorflow::(anonymous namespace)::ExecutorState::TaggedNode, long long) () from /root/tf_env/lib/python3.7/site-packages/tensorflow_core/python/_pywrap_tensorflow_internal.so
#13 0x0000007fb504f6dc in tensorflow::(anonymous namespace)::ExecutorState::Process(tensorflow::(anonymous namespace)::ExecutorState::TaggedNode, long long) () from /root/tf_env/lib/python3.7/site-packages/tensorflow_core/python/_pywrap_tensorflow_internal.so
#14 0x0000007fb504f6dc in tensorflow::(anonymous namespace)::ExecutorState::Process(tensorflow::(anonymous namespace)::ExecutorState::TaggedNode, long long) () from /root/tf_env/lib/python3.7/site-packages/tensorflow_core/python/_pywrap_tensorflow_internal.so
#15 0x0000007fb504f6dc in tensorflow::(anonymous namespace)::ExecutorState::Process(tensorflow::(anonymous namespace)::ExecutorState::TaggedNode, long long) () from /root/tf_env/lib/python3.7/site-packages/tensorflow_core/python/_pywrap_tensorflow_internal.so
#16 0x0000007fb504f6dc in tensorflow::(anonymous namespace)::ExecutorState::Process(tensorflow::(anonymous namespace)::ExecutorState::TaggedNode, long long) () from /root/tf_env/lib/python3.7/site-packages/tensorflow_core/python/_pywrap_tensorflow_internal.so
#17 0x0000007fb504f6dc in tensorflow::(anonymous namespace)::ExecutorState::Process(tensorflow::(anonymous namespace)::ExecutorState::TaggedNode, long long) () from /root/tf_env/lib/python3.7/site-packages/tensorflow_core/python/_pywrap_tensorflow_internal.so
#18 0x0000007fb504f6dc in tensorflow::(anonymous namespace)::ExecutorState::Process(tensorflow::(anonymous namespace)::ExecutorState::TaggedNo---Type <return> to continue, or q <return> to quit---
I was able to successfully install tensorflow-2.0.0-cp37-none-linux_aarch64.whl on my Odroid C2 (Thank you @lhelontra ). I am able to 'import tensorflow' just fine.
However, I get 'Illegal Instruction' error when I run model.predict() (FYI I am using a keras model)
Here's a snapshot of the gdb trace
OS Info
CPU Info