samjabrahams / tensorflow-on-raspberry-pi

TensorFlow for Raspberry Pi
Other
2.25k stars 495 forks source link

error when running tensorflow on am3354 #134

Open yeyulinwse opened 6 years ago

yeyulinwse commented 6 years ago

Describe the Issue

 I want to use tensorflow on my arm board,but it is not raspberry-pi,it is am3354 which based cortex-A8.

I have installed a ubuntu14.04 file system in am3354,and intalled python,numpy and pip by using apt-get.finally i download your tensorflow-1.1.0-cp27-none-linux_armv7l.whl and installed it sucessfully. the tensorflow could be imported successfully,but when i execute the sess = tf.Session() ,the program get a error below "pure virtual method called terminate called without an active exception Aborted" i don't know the reason, i don't know if your tensorflow can be used in am3354 or not ,this problem troubles me a long time, i will appreciate if any help i can get.thanks a lot. i list the program and result:


import tensorflow as tf a=tf.cast([1,2,3],dtype=tf.int8) b=tf.cast([1,2,3],dtype=tf.int8) c=a+b print('debug-------1') sess = tf.Session() print('debug-------2') print(sess.run(c))


and the result is: root@ubuntu-armhf:/opt/Regression# python test2.py debug-------1 pure virtual method called debug-------2 terminate called without an active exception Aborted


Steps to Reproduce

Hardware/Software Info

Please provide the following information about your Raspberry Pi setup:

Relevant Console Output/Logs

douyh commented 6 years ago

Do you solve this problem? I meet this problem on a RK3288 board.