Forums - Convert tool hangs when converting Resnet50 model

2 posts / 0 new
Last post
Convert tool hangs when converting Resnet50 model
zf.africa
Join Date: 15 Jun 17
Posts: 51
Posted: Mon, 2018-08-20 19:32

Dear Developers,

I have tried to convert resnet50 model trained with code: https://github.com/mrharicot/monodepth

When converting checkpoint or frozed model to dlc model, the convert tool is just hang in session run:

snpe-1.17.0/lib/python/converters/tensorflow/util.py: 234

Quote:

232         if len(requiring_evaluation) > 0:
233             try:
234                 outputs = self._session.run(fetches=requiring_evaluation, feed_dict=input_tensors)
235                 outputs = dict(zip(requiring_evaluation, outputs))
236                 for t, o in outputs.iteritems():
237                     self._tensor_value_cache[t.name] = o
238                 outputs_map.update(outputs)
239                 requiring_evaluation = []
240             except InvalidArgumentError:
241                 pass

So why would it hang in session run?

My convert command line is :

Quote:

./snpe-tensorflow-to-dlc --graph /home/damon/work/monodepth/my_model_resnet/frozen_model.pb -i split 1,256,512,3 --out_node model/decoder/mul_21 --dlc ~/work/monodepth/my_model_resnet/frozen_model.dlc

Any comments would be appreciated! Thanks.

  • Up0
  • Down0
zf.africa
Join Date: 15 Jun 17
Posts: 51
Posted: Wed, 2018-09-26 23:33

Hi Everyone,

Has anybody converted resnet50 successfully?

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