Forums - Cannot execute model on DSP

3 posts / 0 new
Last post
Cannot execute model on DSP
anhtu.nguyen
Join Date: 22 Jun 22
Posts: 11
Posted: Wed, 2022-10-12 09:50

Hi,

I'm trying to run my quantized model on DSP with some UDOs. The model seemed to be loaded correctly, but after all the data were loaded, i had this problem. Knowing that my model has mutilple input and only 1 output.

-------------------------------------------------------------------------------
Model String: N/A
SNPE v1.66.0.3729
-------------------------------------------------------------------------------
Processing DNN input(s):
/data/home/snpe/data/raw/img1/0000.raw
Processing DNN input(s):
/data/home/snpe/data/raw/img2/0000.raw
Processing DNN input(s):
/data/home/snpe/data/raw/img3/0000.raw
Processing DNN input(s):
/data/home/snpe/data/raw/init_d.raw
Processing DNN input(s):
/data/home/snpe/data/raw/unfold.raw
Processing DNN input(s):
/data/home/snpe/data/raw/sampling_f.raw
 
src/rpcmem_android.c:256::error: -1: mfree
src/rpcmem_android.c:256::error: -1: mfree
src/rpcmem_android.c:256::error: -1: mfree
 

 

Do you have any idea about this problem ? 

 

Thanks

  • Up0
  • Down0
weihuan
Join Date: 12 Apr 20
Posts: 270
Posted: Sat, 2022-10-15 04:59

Dear cusotmer,

You need to specify with following format in your input list.

#<output_name>

data/input.raw

BR.

Wei

  • Up0
  • Down0
anhtu.nguyen
Join Date: 22 Jun 22
Posts: 11
Posted: Tue, 2022-10-18 09:08

Hello,

Thanks for your response. I tried to specify the format in input list but i still got the same error. When i investigated in Diag file in output, I got the result like this:

Quote:
Interpreting file serialized with Flatbuffer

Log File Created: Thu Jan  1 00:14:01 1970
Time Scale: 1e-06
Epoch Timestamp: 841889606 Steady Clock Timestamp: 621258186
Software library version: 1.61.0.3358
 
Dnn Runtime Load/Deserialize/Create/De-Init Statistics:
--------------------------------------------------
Load: 100 us
Deserialize: 12289 us
Create: 362346 us
 
Init: 375585 us
De-Init: 2780 us
 
Create Network(s): 10759 us
RPC Init Time: 302525 us
Snpe Accelerator Init Time: 301930 us
Accelerator Init Time: 265392 us
 
Average SNPE Statistics:
------------------------------
Total Inference Time: 9810204 us
Forward Propagate Time: 9810136 us
RPC Execute Time: 9798348 us
Snpe Accelerator Time: 0 us
Accelerator Time: 0 us

Misc Accelerator Time: 0 us

 

Sometimes I didnt get this error but the RAM memory exposed. Do you have other leads for this problem ?

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.