Forums - snpe-onnx-dlc convert question

2 posts / 0 new
Last post
snpe-onnx-dlc convert question
MarkWu
Join Date: 8 May 22
Posts: 36
Posted: Sun, 2022-07-17 20:36
I have a problem with the snpe-onnx-dlc tool, I would like to ask, my snpe version number is 1.63,
ubuntu:18.04,
onnx (1.6.0)
onnx-simplifier (0.3.10)
onnxoptimizer (0.2.7)
onnxruntime (1.1.0)
 
Question 1: I am using the command
snpe-onnx-to-dlc -i xxx.onnx -o xxx.dlc --input_layout 'input' NCHW
 
The converted dlc model feels that 'input' does not change the channel. Is there something wrong with my operation?
 
Question 2: I am using the command
snpe-onnx-to-dlc -i xxx.onnx -o xxx.dlc --no_simplification
When the model conversion fails, it can be converted successfully after removing --no_simplification. Is there any difference between the two?
 
Looking forward to your answer, thanks
  • Up0
  • Down0
sanjjey.a.sanjjey
Join Date: 17 May 22
Posts: 55
Posted: Tue, 2022-07-19 05:45

Hi,

For Question 2: I also just tried to run ONNX model with and without using --no_simplification, the conversion was successfull.

with --no_simplification the model will reduce the number of simplification while running instead of doing all and does the conversion successfuly.

If you want to know more about the commands please follow the below link they have explained all the things that may be helpfull for you.

https://developer.qualcomm.com/sites/default/files/docs/snpe/tools.html#...

 

 

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