Forums - execute returned false in AIP runtime

1 post / 0 new
execute returned false in AIP runtime
luoyu510183
Join Date: 9 Apr 20
Posts: 1
Posted: Tue, 2020-04-21 00:51

I executed my ai model through the C++ apis. I've tested all runtimes, CPU,GPU,DSP,AIP.  CPU,GPU&DSP just worked fine.

When I execute the quantized model with --enable_hta in AIP runtim, snpe->execute(inputtensor.get(), outputTensorMap) returned false.

I didn't find any error through the logcat console:

E/npu_user_driver: NPU_Stats: npu_load_network(): 95.17 ms

E/npu_user_driver: NPU_Stats: npu_alloc_buffer_v2(): 0.08 ms sts=0

...

E/npu_user_driver: npu_set_property status: 0

Net Execute Failed   //this is a custom print code when snpe->execute returns false

...

E/npu_user_driver: * NPU_Stats: npu_free_buffer_v2(): 0.01 ms

E/npu_user_driver: * NPU_Stats: npu_unload_network(): 1607.50 ms

E/npu_user_driver: npu_set_property status: 0

 

Please help me debug this issue.

The snpe version is 1.37.0.788, the processor is 855. 

  • Up0
  • Down0

Opinions expressed in the content posted here are the personal opinions of the original authors, and do not necessarily reflect those of Qualcomm Incorporated or its subsidiaries (“Qualcomm”). The content is provided for informational purposes only and is not meant to be an endorsement or representation by Qualcomm or any other party. This site may also provide links or references to non-Qualcomm sites and resources. Qualcomm makes no representations, warranties, or other commitments whatsoever about any non-Qualcomm sites or third-party resources that may be referenced, accessible from, or linked to this site.