Forums - Python wrapper for SNPE issue

4 posts / 0 new
Last post
Python wrapper for SNPE issue
tuan.nhanh
Join Date: 7 Oct 20
Posts: 1
Posted: Mon, 2022-01-10 01:23

Hello,

I made python wrapper for SNPE using Python C API.

the inference process run ok and gave the corrected resul but when the program is going to end it throws error:

"corrupted double-linked list"

"Aborted"

 

I found that it come from libSNPE.so.  How to fix it?

 

Thanks, 

  • Up0
  • Down0
weihuan
Join Date: 12 Apr 20
Posts: 270
Posted: Sun, 2022-01-16 17:33

Dear customer,

Good to see you have integrated SNPE into your project.

Please double-check the logcat and DSP logs with tool of mini-dm or QXDM will help to point out the issue.

Also, we're appreciate to if you can share the Python integration steps to us.

BR.

Wei

  • Up0
  • Down0
SahilBandar
Join Date: 23 May 18
Posts: 37
Posted: Tue, 2022-02-01 20:00

Hi tuan.nhanh,

Please make sure that, in python wrapper & its respective C function, you have managed the SNPE object properly.
and make sure that SNPE object has been deleted before the terminating the program.

You might be facing this issue at the end of your C++ wrapper code.

Regards,
Sahil Bandar

  • Up0
  • Down0
sumesahu
Join Date: 10 May 20
Posts: 1
Posted: Fri, 2023-04-21 03:03

HHi Tuan,
Could you please send your source code for validating?
Will have a look into it.

 

Thanks.

  • Up0
  • Down0
or Register

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.