lhelontra / tensorflow-on-arm

TensorFlow for Arm
MIT License
1.05k stars 274 forks source link

Illegal Instruction error when load trained model #32

Closed kevinpei2001 closed 5 years ago

kevinpei2001 commented 5 years ago

I tried to install tensorflow 1.4, 1.5, 1.8, 1.9 to my ARTIK 530 board. When I loaded the trained model from another PC (tensorflow-GPU trained).

from keras.models import load_model import numpy as np model = load_model('./keras_trained_model.h5')

It always reported:

Using TensorFlow backend. Illegal instruction

Any ideas?

Kevin

lhelontra commented 5 years ago

Hi, probably wheel's files in this project is incompatible with instructions for artik 530 board. Needs compile tensorflow for cortex-A9.

xiongmingzhi commented 3 years ago

I tried to install tensorflow 1.4, 1.5, 1.8, 1.9 to my ARTIK 530 board. When I loaded the trained model from another PC (tensorflow-GPU trained).

from keras.models import load_model import numpy as np model = load_model('./keras_trained_model.h5')

It always reported:

Using TensorFlow backend. Illegal instruction

Any ideas?

Kevin

how can you solve this promble?