Load model on dsp success in android aar sdk but failed in NDK
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.