Forums - mobilenetv1, v2 result are wrong on SnapDragon 835

6 posts / 0 new
Last post
mobilenetv1, v2 result are wrong on SnapDragon 835
ysh329
Join Date: 25 Jul 18
Posts: 31
Posted: Thu, 2019-03-21 20:17

Hi, all,

I tested mobilenetv1, v2 and AlexNet on MIX2 (snapdragon835), which CPU, GPU, DSP supported according to device list in SNPE doc. But I found the results of mobilenetv1, v2 are wrong, and AlexNet-fxp-cpu is wrong.

I verify correctness according to the script below `models/alexnet/script/show_alexnet_classification.py`. Any idea? Thanks in advance.

  • Up0
  • Down0
jihoonk
Profile picture
Join Date: 28 Jan 13
Location: Seoul
Posts: 55
Posted: Fri, 2019-03-22 02:21

Hi ysh329,

It's reported that Mobilenet is vulnerable to quantization. So Qualcomm designed quantization-friendly Mobilenet. Refer to below paper.

https://arxiv.org/pdf/1803.08607.pdf

Thanks,

Jihoonk

  • Up0
  • Down0
ysh329
Join Date: 25 Jul 18
Posts: 31
Posted: Fri, 2019-03-22 06:31

Thanks. Do you have paper about current quantization strategy? Thanks in advance

  • Up0
  • Down0
ysh329
Join Date: 25 Jul 18
Posts: 31
Posted: Fri, 2019-03-22 06:40

Besides, I found segmentation fault when running mobilenetv1 on Snapdragon835 (MIX 2).

  • Up0
  • Down0
jihoonk
Profile picture
Join Date: 28 Jan 13
Location: Seoul
Posts: 55
Posted: Sun, 2019-03-24 17:47

Refer to below document regarding current SNPE quantization.

https://developer.qualcomm.com/docs/snpe/quantized_models.html

Thanks,

jihoonk

  • Up0
  • Down0
ysh329
Join Date: 25 Jul 18
Posts: 31
Posted: Wed, 2019-03-27 23:29

hi, not only quanti. but also un-quant are wrong...

have any idea?

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