Intel® SoC FPGA Embedded Development Suite
Support for SoC FPGA Software Development, SoC FPGA HPS Architecture, HPS SoC Boot and Configuration, Operating Systems

Install Tensorflow on DE10-NANO

nickis666
Beginner
451 Views

Is there have a document for installing TensorFlow on DE10-NANO?

I can install TensorFlow successfully, but when I use TensorFlow to do something, I get "Illegal instruction", 

for example  :

sess = tf.Session()
a = tf.constant([[2, 2, 2], [3, 3, 3]], dtype=tf.float32)
b = tf.constant([[1, 1, 1], [2, 2, 2]], dtype=tf.float32)
print(sess.run(a))
print(sess.run(tf.add(a, b)) 

The code above can work, but when I use the other code like "tf.subtract(a, b)", I will get

"Illegal instruction".

How can I fix it? thanks

0 Kudos
4 Replies
JohnT_Intel
Employee
423 Views

Hi,


Are you refering to running the Tensorflow in the ARM processor? If yes, may I know what is the OS you are running with?


nickis666
Beginner
415 Views
JohnT_Intel
Employee
409 Views

Hi,


I would recommend you to contact Terasic on this issue as the OS was created by them


TrivenNTHU
Novice
304 Views

Hi,

 

I would recommend that you can try this, modern Linux kernel on de10-nano.

Reply