2, will snpe - sample and push to mobile phones, the command is:
The adb push snpe - sample/data/local/TMP/snpeexample/bin
The adb push lib \ aarch64 - android - clang6.0 \/data/local/TMP/snpeexample/lib
The adb push lib \ DSP/data/local/TMP/snpeexample/lib
3, to run the program:
Export LD_LIBRARY_PATH=/data/local/TMP/snpeexample/lib/aarch64 - android - clang6.0: $LD_LIBRARY_PATH
Export ADSP_LIBRARY_PATH="/data/local/TMP/snpeexample/lib/DSP;/system/lib/rfsa/adsp;/system/vendor/lib/rfsa/adsp; "
/DSP./snpe - sample - d./3 d_quant. DLC - I image. TXT - r DSP - b USERBUFFER_TF8 -o output
4, the results
Snpe - sample - d./3 d_quant. DLC - I image. TXT -r DSP - b USERBUFFER_TF8 -o output & lt;
SNPE Version: 1.30.0.480
Selected runtime not present. Falling back to the CPU.
Batch size for the container is 1
Processing Input within DNN:
FileLines size: 1
1) 2. Npy
Processing Input within DNN:
FileLines size: 1
1) 2. Npy
What is the reason? The same method in the mobile vivo r11s can run on the DSP,
CodePudding user response:
Has been solved, knot,CodePudding user response:
Elder brother, how to solve?