Forums - MobilenetSSD convert error!!!

2 posts / 0 new
Last post
MobilenetSSD convert error!!!
shanghui_eml
Join Date: 13 Oct 21
Posts: 6
Posted: Wed, 2021-10-13 01:38

Hi, 

I am trying to convert MobileSSD .pb model to .dlc following the official doecment: 

https://developer.qualcomm.com/sites/default/files/docs/snpe/convert_mobilenetssd.html#mobilenetssd_conversion_tf

But, it accours the following error:

snpe=1.52

tensorflow=1.15

  • Up0
  • Down0
SahilBandar
Join Date: 23 May 18
Posts: 37
Posted: Tue, 2021-11-02 05:08
Hi shanghui_eml,
 

1. Downlaod the ssd_mobilenetv2_2 model from the link given: https://tfhub.dev/tensorflow/ssd_mobilenet_v2/2

Command used :

snpe-tensorflow-to-dlc --input_network <PATH_TO_THE_SAVED_MODEL_OF_TF> -d input_tensor 1,320,320,3 --out_node num_detections --out_node detection_boxes --out_node detection_classes --out_node detection_scores -o <MODEL_SAVEPATH.dlc>
NOTE: input node name is input_tensor.
 
2. Make sure that you have installed tensorflow 2.2 and above.
3. Make sure that you have sourced the envsetup.sh with the latest tensorflow path in order to convert the model.

Hope this will resolve your problem.

Thanks & Regards,
Sahil Bandar
  • 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.