Forums - snpe-caffe-to-dlc-udl cannot work

3 posts / 0 new
Last post
snpe-caffe-to-dlc-udl cannot work
liuxz6271
Join Date: 24 May 16
Posts: 5
Posted: Thu, 2018-03-22 21:08

Dear SNPE developers,

    I followed the Tutorial to convert MobileNet-SSD caffemodel to dlc,  but failed.

 

How to solve this error.
 
[erro msg]
$SNPE/lib/python/snpe/snpe_caffe_to_dlc.py:1552: RuntimeWarning: error_code=1004; error_message=Layer parameters combination is invalid. Layer mbox_priorbox: input conv13_mbox_priorbox has size 10 along axis 1, should match output dim (19); error_component=Model Validation; line_no=517; thread_id=139785844422464
  axis = snpe_axes[0])

 

--Encountered ErrorThe order value 1 must be  less than input dimension size 1 in permute layer.
 

[cmd]

./snpe-caffe-to-dlc-udl --caffe_txt /home/liuxz/work/dlws/9.ml/object_detection/chuanqi305_MobileNet-SSD/MobileNetSSD_deploy.prototxt    --caffe_bin /home/liuxz/work/dlws/9.ml/object_detection/chuanqi305_MobileNet-SSD/MobileNetSSD_deploy.caffemodel  --dlc  MobileNetSSD_deploy.caffemodel.dlc

 

the caffemodle can get from https://github.com/chuanqi305/MobileNet-SSD 

 

Thanks

BRs

  • Up0
  • Down0
dylan.sun
Join Date: 11 Sep 18
Posts: 1
Posted: Mon, 2018-10-15 00:24

Hi, did u solvered?

  • Up0
  • Down0
gesqdn-forum
Join Date: 4 Nov 18
Posts: 184
Posted: Fri, 2019-10-04 03:50

Hi,
From the error message, the output dimensions of this layer are not matching with the expected by the next layer.
Kindly confirm the Initial environment setup and UDL setup instructions from the below link,
https://developer.qualcomm.com/docs/snpe/udl_tutorial.html

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