Forums - SNPE image-classifiers apk is always showing "Loading models ..."

4 posts / 0 new
Last post
SNPE image-classifiers apk is always showing "Loading models ..."
kwang
Join Date: 1 Jun 18
Location: Vancouver
Posts: 1
Posted: Wed, 2018-06-06 12:51

Hello,

Follow snpe sdk development instruction, I setup tensorflow and SNPE environment, there are a lot of steps, like install some python, dependencies, convert tensorfolow model "python ./models/inception_v3/scripts/setup_inceptionv3.py -a ./temp-assetscache -d", then I build android apk(snpe-1.15.0/snpe-1.15.0/examples/android/image-classifiers) in ubuntu 16.04, I got the output "snpe-1.15.0/snpe-1.15.0/examples/android/image-classifiers/app/build/outputs/apk/app-debug.apk"

then I adb install this apk to qualcom 820 board. but it is always showing "Loading models ..." when I run this apk.

Can anyone help me out? thank you.

 

Thanks,

Kevin

  • Up0
  • Down0
shenyingying25
Join Date: 14 Nov 18
Posts: 19
Posted: Sun, 2018-11-25 23:08

you should run this commond:

adb push model.dlc /storage/emulated/0/Android/data/com.qualcomm.qti.snpe.imageclassifiers/files/models/inception_v3

 

https://developer.qualcomm.com/forum/qdn-forums/software/snapdragon-neur...

  • Up0
  • Down0
shenyingying25
Join Date: 14 Nov 18
Posts: 19
Posted: Wed, 2018-11-28 00:05

hi kevin:

   it's ocurrs to me the same, guide by others,https://developer.qualcomm.com/forum/qdn-forums/software/snapdragon-neur... ,i sucess load the network ,but there is no picture dispaly,so i can't click the image to classify, i didn't know java at ,can anyone help me,ths a lot.

  • Up0
  • Down0
Duncan
Join Date: 20 Dec 18
Posts: 2
Posted: Thu, 2018-12-20 23:33

Hi shenyingying25

when you do the below command from https://developer.qualcomm.com/docs/snpe/android_tutorial.html 

bash ./setup_inceptionv3.sh

it will add the jpg to the inception_v3.zip, you might need to check if image under $SNPE_ROOT/models/inception_v3/data/cropped/

 

thanks

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