AI Models in Interactive Sessions

Execution of SNPE is done through the command line. For example, with the inception_v3 model as the application, the following commands could be executed:

  • Android example:

    cd /data/local/tmp/inception_v3/
    LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/data/local/tmp/snpeexample/aarch64-android-clang8.0/lib
    /data/local/tmp/snpeexample/aarch64-android-clang8.0/bin/snpe-net-run --container inception_v3.dlc --input_list target_raw_list.txt
  • Windows example:

    cd C:\Temp\SNPE\2.15.1.230926\bin
    ./envsetup.ps1
    cd C:\Temp\file\inception_v3
    snpe-net-run --container dlc/inception_v3.dlc --input_list data/cropped/raw_list.txt

Results are created in an output directory along with logs. You can copy the following to the QDC_logs directory – It will then be returned in the job report.

cp -r output /data/local/tmp/QDC_logs/