Forums - Convert Tensorflow model to DLC format

2 posts / 0 new
Last post
Convert Tensorflow model to DLC format
Join Date: 1 Aug 18
Posts: 1
Posted: Wed, 2019-01-09 00:34

Hi,I'm converting a model from tensorflow binary pb format to dlc but failed getting the message "Layer paramter value is invalid. Layer split needs three-dimensional activations; error_component=Model Validation; line_no=2695;". After several attemps, it seems I could not even convert a naive split node from tensorflow to dlc slice op. Could anyone provide any information about it?

  • Up0
  • Down0
Join Date: 4 Nov 18
Posts: 68
Posted: Fri, 2019-01-18 05:37
While converting the Tensorflow's pb graph, you should pass the proper parameters values required by the .pb model. Ex. `input_node` name, `out_node` names, `input_shape` etc. Please follow the documentation in the link for converting the pb graph to DLC.
The documentation is for MobileNetSSD. Please change the parameter values according to your model.
  • 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.