Hi, i am trying to use snpe-onnx-to-dlc to convert an onnx model with 2 inputs. The argument --input_dim seems to support one input only.
Plesae let me know if there is any way to do it.
Hi, i am trying to use snpe-onnx-to-dlc to convert an onnx model with 2 inputs. The argument --input_dim seems to support one input only.
Plesae let me know if there is any way to do it.
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.
Dear developer,
If you want to convert an onnx model with multiple inputs, you can use the commands like 'snpe-onnx-to-dlc --input_dim input1 'n,c,h,w' --input_dim input2 'n,c,h,w'.
BR.
Yunxiang
I also need two inputs, but I do not know how to write the raw.list?
Dear developer,
You can use it as below:
snpe-dlc-quantize --input_dlc model.dlc --input_list input_list.txt
if you want to run on htp, you can add '--enable_htp' and you can specify the weights,act,bias by '--weights_bitwidth 8 --act_bitwidth 8 --bias_bitwidth 8'
And you can prepare input_list.txt as below:
input1:=input_data/input1.raw input2:=input_data/input2.raw
BR.
Yunxiang