Forums - snpe-net-run command on Android

2 posts / 0 new
Last post
snpe-net-run command on Android
timmittimmitim
Join Date: 11 May 19
Posts: 1
Posted: Sat, 2019-06-08 07:39

HEllo,

I am trying to do inceptionv3 tutorial on Android. i am using  an emulator of pixel3 Xl on Ubuntu.

after i input following command

adb shell
export SNPE_TARGET_ARCH=arm-android-gcc4.9
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/data/local/tmp/snpeexample/$SNPE_TARGET_ARCH/lib
export PATH=$PATH:/data/local/tmp/snpeexample/$SNPE_TARGET_ARCH/bin
snpe-net-run -h

there are nothing happed on the phone, but the result should show up something like this:

 

DESCRIPTION:
------------
Example application demonstrating how to load and execute a neural network
using the SNPE C++ API.


REQUIRED ARGUMENTS:
-------------------
  --container  <FILE>   Path to the DL container containing the network.
  --input_list <FILE>   Path to a file listing the inputs for the network.
                        Optionally the file can have "#" starting line to specify the layer names for which output tensor files are to be produced.

 

Can someone tell me how to make the result right?
 

 

  • Up0
  • Down0
jihoonk
Profile picture
Join Date: 28 Jan 13
Location: Seoul
Posts: 55
Posted: Sun, 2019-06-09 18:23

Hi timmittimmitim,

You need to provide your dlc and an input list file to snpe-net-run as arguments like below.

snpe-net-run --container your_model.dlc --input_list your_list.txt

 

Thanks,

Jihoon

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