Forums - tflite sample code on github

10 posts / 0 new
Last post
tflite sample code on github
zmonteci
Join Date: 22 May 18
Posts: 16
Posted: Wed, 2021-02-24 06:52

I am running both tflite apps. When I ran tflite-posenet, I get a Segmentation fault  right after "INFO: Replacing 33 node(s) with delegate (TfLiteNnapiDelegate) node, yielding 1 partitions." On the other app tflite_segmentation, I get a video feed but I dont really any segmentation.  What is the output of this app supposed to be ? And any help debugging tflite_posenet will be super helpful. Thank you in advance :)

  • Up0
  • Down0
kevin.dai
Join Date: 21 Oct 20
Posts: 137
Posted: Wed, 2021-02-24 09:44

I will discuss your issuee with AI engineers, and let you know result.

  • Up0
  • Down0
ke.du
Join Date: 26 May 20
Posts: 5
Posted: Thu, 2021-02-25 00:13

Hi zmzonteci,

For the tflite-posenet, please check what delegate you run, the default set is delegate=0. If you choose delegate=dsp, please make sure your device has been signed.

For the tflite-segmentation, please check the /data/misc/camera/mle_tflite.config, change the confidence_threshold= 0.3 , try it again.

  • Up0
  • Down0
zmonteci
Join Date: 22 May 18
Posts: 16
Posted: Tue, 2021-03-02 01:00

I followed your advice and change the confidence_threshold to 0.3 and didnt really notice a difference on the tflite-segmentation example. Is there any way you can explain to me what should I expect in the video image? I am expecting some contrast in color on the video frame but I am not seeing it.  As far as the posenet example, I think i do need to sign my device because the delegate used is DSP. Any advice on how to get the dsp signed? thank you so much for your help!

  • Up0
  • Down0
ke.du
Join Date: 26 May 20
Posts: 5
Posted: Wed, 2021-03-03 23:27

Hi zmonteci,

Could you share your config file and log file?

  • Up0
  • Down0
ke.du
Join Date: 26 May 20
Posts: 5
Posted: Wed, 2021-03-03 23:28

Hi zmonteci,

Could you share your config file and log file?

  • Up0
  • Down0
ke.du
Join Date: 26 May 20
Posts: 5
Posted: Wed, 2021-03-03 23:29

Hi zmonteci,

Could you share your config file and log file?

  • Up0
  • Down0
ke.du
Join Date: 26 May 20
Posts: 5
Posted: Wed, 2021-03-03 23:29

Hi zmonteci,

Could you share your config file and log file?

  • Up0
  • Down0
zmonteci
Join Date: 22 May 18
Posts: 16
Posted: Tue, 2021-03-09 02:52

How do I get the Log files and how do I share that in the forum? 

  • Up0
  • Down0
mita.rathod
Join Date: 17 Sep 18
Posts: 59
Posted: Thu, 2021-03-11 11:21

Hi Zmonteci,

pelase collect logs using adb logcat -v time -b all > tflite.txt
share through google drive . or if not than please contact us on service email ([email protected]) and will create a redmine ticket to track.

Thanks,
Mita  

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