i.MX 8Mplus on android: failed to apply nnapi delegate

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

i.MX 8Mplus on android: failed to apply nnapi delegate

2,323 次查看
outburst
Contributor I

Hi, I am trying to run a face recognition model from i.MX 8Mplus with npu. My environment setting is shown below.

- Hardware: NXP i.XM 8Mplus
- Software: Android version 12 (Tried 10 and 11 but failed)
Android SDK 33, NDK 21
- Model:insightface_quant (Downloaded WebFace600K_pfc .onnx weight file from https://github.com/deepinsight/insightface/tree/master/model_zoo and quantized into uint8 .tflite)

I used python 3.9 and tensorflow 2.11.0 for building tensorflow-lite via bazel. (Tried tf 2.4.0 first but failed as well). Both input and output type of quantized model is uint8.
I attached the error message, which is not really helpful for troubleshooting.
Both nnapi and xnnpack failed, while running on CPU without xnnpack succeeded.
Please help.

标签 (1)
0 项奖励
0 回复数