Forums - Multiple inputs and outputs inference problem

2 posts / 0 new
Last post
Multiple inputs and outputs inference problem
phamduygiacnguyen9c
Join Date: 19 Jan 23
Posts: 1
Posted: Thu, 2023-08-03 19:50
Hi, 
We have a problem when running a .dlc model with multiple inputs and outputs. We have followed the instruction https://developer.qualcomm.com/sites/default/files/docs/snpe/tools.html. However, we have this error
 
"""
error_code=204; error_message=Couldn't find name. error_code=204; error_message=Couldn't find name. One or more specified output layers don't exist!; error_component=Dl System; line_no=1332; thread_id=140482258421504; error_component=Dl System; line_no=342; thread_id=140482294011904
"""
 
And my input.txt file is:
"""
#output_1 feature
query:=/snpe/Desktop/multi_input_dlc/data/test/query.raw support:=/snpe/Desktop/multi_input_dlc/data/test/support.raw
"""
 
We have checked the names of inputs and outputs that are correct or not, but they both exist in our network.
 
In contrast, if we delete row "output_1 feature", the model will be able to run, but the result we receive is only one (expect 2). 
 
Do you have any documentation/example code showing how to resolve this problem that you can share with us? 
 
We are looking forward to receiving your replication. 
Thank you.
 
  • Up0
  • Down0
yunxqin
Join Date: 2 Mar 23
Posts: 44
Posted: Thu, 2023-08-03 21:53

Dear developer,

You can try to use the commands like 'snpe-net-run --set_output_tensors output1,output2'.

BR.

Yunxiang

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