Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Illegal Instruction on Odroid C2 #106

Open
subedipiyush opened this issue Sep 11, 2020 · 0 comments
Open

Illegal Instruction on Odroid C2 #106

subedipiyush opened this issue Sep 11, 2020 · 0 comments

Comments

@subedipiyush
Copy link

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

**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---

OS Info

NAME="Ubuntu"
VERSION="18.04.5 LTS (Bionic Beaver)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 18.04.5 LTS"
VERSION_ID="18.04"
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
VERSION_CODENAME=bionic
UBUNTU_CODENAME=bionic

CPU Info

Architecture:        aarch64
Byte Order:          Little Endian
CPU(s):              4
On-line CPU(s) list: 0-3
Thread(s) per core:  1
Core(s) per socket:  1
Socket(s):           4
Vendor ID:           ARM
Model:               4
Model name:          Cortex-A53
Stepping:            r0p4
CPU max MHz:         1536.0000
CPU min MHz:         100.0000
BogoMIPS:            2.00
Flags:               fp asimd crc32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant