Forums - Load model on dsp success in android aar sdk but failed in NDK

1 post / 0 new
Load model on dsp success in android aar sdk but failed in NDK
kitche1985
Join Date: 19 Feb 24
Posts: 2
Posted: Thu, 2024-02-22 00:09

Hi,

I have a dlc model which can successfully loaded and inferenced correct by SNPE 2.19 android  aar, but I want use the model 
in android ndk 25rc. It can check dsp success but load the same model failed in the same mobile mobile. Below is some error log:

2024-02-22 15:57:42.557  5392-5884  QnnDsp                  com...raphicframeworkandroidhostapp  E  tcm_migration.cc:315:ERROR:Memory properties specified twice for operator 
 
and 
2024-02-22 15:57:42.813  5392-5775  SNPE-DebugLog           com...raphicframeworkandroidhostapp  E  15:57:42.813873 [USER_ERROR:SNAPDNN] 401 | QnnGraph_finalize failed: 1002
2024-02-22 15:57:42.813  5392-5775  SNPE-DebugLog           com...raphicframeworkandroidhostapp  I  15:57:42.813939 [USER_INFO:DNN_RUNTIME] Cleaning up cluster manager instance resources
2024-02-22 15:57:42.814  5392-5775  SNPE-DebugLog           com...raphicframeworkandroidhostapp  E  15:57:42.814016 [USER_ERROR:SNAPDNN] SNPEBuilder::build Create network failed
 
I guess maybe something is missing in my code. Could someone help me on this issue? Thanks a lot in advance.

 

  • 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.