I have trained a pytorch QAT model and converted it to torchscript.
Now I need to convert QAT torchscript model to .dlc.
But while runnung snpe-pytorch-to-dlc command, I am getting below error
TypeError : Unsupported Op type qnn.quantize.
Please let me know way to support QAT model for dlc conversion.
Dear customer,
Coud you please help to add debug option os --debug to conversion steps and then share more logs to us for checking which layer caused?
BR.
Wei
Hi,
Please find which layer is not supported while doing conversion.Write JSON file for the layer which is not supported.After that use --udo_config_paths <JSON_file> to conversion step.
For reference please check below links
https://developer.qualcomm.com/sites/default/files/docs/snpe/udo_package...
Tools https://developer.qualcomm.com/sites/default/files/docs/snpe/tools.html#...