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

Install Tensorflow on DE10-NANO

nickis666
Beginner
723 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
695 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
687 Views
0 Kudos
JohnT_Intel
Employee
681 Views

Hi,


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


0 Kudos
TrivenNTHU
Novice
576 Views

Hi,

 

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

0 Kudos
Reply