Forums - SNPE2 qunatization error

2 posts / 0 new
Last post
SNPE2 qunatization error
ktjktj0911
Join Date: 2 Jan 23
Posts: 14
Posted: Fri, 2023-07-07 01:26

Hello everyone,

I have a model that I have been using on my android project.

I am currently trying to upgrade snpe version from 1.66 to 2.10 and I am having problem with quantization.

While using snpe 1.66, I have converted my model on snpe 1.66 using snpe-tensorflow-to-dlc, and I have quantized the model with optimization option cle.

Even though it gave an error message "ERROR Invalid model for HBA quantization algorithm. Ensure there were batchnorms present prior to initial conversion, or reconvert." the quantization worked.

However on snpe 2.10, it gives segmentation fault when I try to quantize the model with the exact same option. The tensorlfow-to-dlc conversion worked fine on snpe 2.10 but only the quantization with cle option does not work. I have been using bc quantized model but I want to use cle quantized model since the snpe documentation states that "In addition, BC should not be run on its own without CLE as it won't fix major issue with weight/activation quantization".

please help

Thank you

  • Up0
  • Down0
weihuan
Join Date: 12 Apr 20
Posts: 270
Posted: Sat, 2023-07-08 08:23

Dear developer,

Could you help to withdraw BC/CLE from your SNPE quantization steps?

CLE has been deprecated on latet SNPE verion.

BR.

Wei

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