Forums - MobileNet SSD Caffe output is wrong after converting to DLC format

4 posts / 0 new
Last post
MobileNet SSD Caffe output is wrong after converting to DLC format
gopinath.r
Join Date: 29 Nov 18
Posts: 2
Posted: Thu, 2019-02-14 22:40

Hi,

I have converted a Caffe based MobilnetSSD model to DLC file and i have modified the android app available in the sdk to run my model.

The output is different from pc for the same image while running on snapdragon 820 dev kit.

For the same image while running on the pc using caffe model i get maximum confidence score as 90%. But while running on the Snapdragon 820 dev kit using converted DLC file i get maximum confidence score as 15%.

I was executing the DLC file on gpu runtime with CPU fallback option enabled.

Does anybody know how to improve the accuracy of DLC file by providing more info while converting the model?

  • Up0
  • Down0
gopinath.r
Join Date: 29 Nov 18
Posts: 2
Posted: Tue, 2019-03-12 01:47

It is really surprising me that no body has replied to the issue that i am facing. I guess snapdragon neural processing engine is not a good solution if user is trying to improve the performance of deep learing networks. For cross verifying i had tried using the tensorflow ssd model mentioned in your forum and results are completely wrong after converting to DLC format and running on snapdragon 820.

If you people don't care or don't want to support the end user why you are promoting this in the first place. Worst customer support ever.

  • Up0
  • Down0
linnanbryant
Join Date: 2 Jan 19
Posts: 9
Posted: Sun, 2019-03-17 21:03

Hi gopinath,

i also met the wrong result issue, and tensorflow model conver never suceed, caffe model conver runtime result is not right, could you please tell if you sovle the problem? 

  • Up0
  • Down0
jihoonk
Profile picture
Join Date: 28 Jan 13
Location: Seoul
Posts: 55
Posted: Mon, 2019-03-18 00:50

Hi gopinath.r,

Caffe and SNPE use different input tensor shapes. Caffe is BCHW while SNPE is BHWC. Did you consider this difference when you test SNPE model?

For details, refer to following:

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

Thanks,

jihoonk

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