IMX8MP error running TensorFlow Lite case

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

IMX8MP error running TensorFlow Lite case

3,601 Views
ace12
Contributor I

When you run the IMX8MP TensorFlow Lite example, adding the argument -a 1 will print the warning message WARN: NNAPI delegate execution provider isn't linked or NNAPI delegate isn't supported on the platform!
Currently it can only run on cpus, not Npus

Could you tell me how to solve this

微信图片_20231225171303.png微信图片_20231225171303.png

0 Kudos
Reply
6 Replies

3,574 Views
Zhiming_Liu
NXP TechSupport
NXP TechSupport

Refer this guide:https://www.nxp.com/docs/en/user-guide/IMX-MACHINE-LEARNING-UG.pdf

Zhiming_Liu_0-1703557199963.pngZhiming_Liu_0-1703557199963.png

 

0 Kudos
Reply

3,571 Views
ace12
Contributor I

Ok, thanks. I just saw in the bb file that NNAPI is not open

0 Kudos
Reply

3,569 Views
Zhiming_Liu
NXP TechSupport
NXP TechSupport

NNAPI is not recommended.

0 Kudos
Reply

3,567 Views
ace12
Contributor I

ace12_0-1703557955748.pngace12_0-1703557955748.png

So which one is recommended to open

0 Kudos
Reply

3,564 Views
Zhiming_Liu
NXP TechSupport
NXP TechSupport

You don't need modify bb file.

0 Kudos
Reply

3,561 Views
ace12
Contributor I

ace12_0-1703558262308.pngace12_0-1703558262308.png

But I don't have a libvx_delegate.so file

0 Kudos
Reply