Intel® SoC FPGA Embedded Development Suite
Support for SoC FPGA Software Development, SoC FPGA HPS Architecture, HPS SoC Boot and Configuration, Operating Systems
Announcements
All support for Intel NUC 7 - 13 systems has transitioned to ASUS. Read latest update.

Install Tensorflow on DE10-NANO

nickis666
Beginner
661 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
633 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?


0 Kudos
nickis666
Beginner
625 Views
0 Kudos
JohnT_Intel
Employee
619 Views

Hi,


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


0 Kudos
TrivenNTHU
Novice
514 Views

Hi,

 

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

0 Kudos
Reply