I 'm tring to run the official udo example(softmax on model inceptionv3) and use dsp for udo infer.
I` m strictly follows the official tuturioal, but can not run well .
my run command :
export LD_LIBRARY_PATH=/data/local/tmp/inception_v3_udo/dsp/:$LD_LIBRARY_PATH
export ADSP_LIBRARY_PATH="/data/local/tmp/inception_v3_udo/dsp/;/data/local/tmp/snpeexample/dsp/lib;/system/lib/rfsa/adsp;/system/vendor/lib/rfsa/adsp;/dsp"
echo "-----prepare board snpe env variable-----"
export SNPE_TARGET_ARCH=aarch64-android-clang6.0
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
echo "-----excute udo net run on board-----"
cd /data/local/tmp/inception_v3_udo/
export LD_LIBRARY_PATH=/data/local/tmp/inception_v3_udo/cpu/:$LD_LIBRARY_PATH
snpe-net-run --container inception_v3_udo_uint4dsp_quantized.dlc --input_list target_raw_list.txt \
--udo_package_path dsp/libUdoSoftmaxUdoPackageReg.so \
--use_dsp --platform_options unsignedPD:ON
the dlc in this scprit were quantized dlc of uint8 softmax udo, build with the config of Softmax_Quant.json.
the dspimpl lib in both LD_LIBARY_PATH and ADSP_LIBRARY_PATH.
dsp runs good without udo. cpu runs good with udo.
the output of console on board:
PlatformOptions (unsignedPD:ON) set successful config option is valid
The selected runtime is not available on this platform. Continue anyway to observe the failure at network creation time.
error_code=500; error_message=Target runtime is not available. error_code=500; error_message=Target runtime is not available. No viable runtimes available.; error_component=Host Runtime; line_no=409; thread_id=516048911616; error_component=Host Runtime; line_no=267; thread_id=528749339896
if anyone has some experience , please tell me. Thankyou very much.
Dear customer,
Could you please kindly share the adb logcat to us? Also, which SNPE version you used?
BR.
Wei
my snpe version is 1.61.0.3358
my hardware is SA8155P
all run need files and full logcat log is uploaded to baidu net disk : https://pan.baidu.com/s/1C_WZJk2cRvjWrvbtVarN3Q
extract code: spwg
you can try rerun my error.
thank you a lot.
here are some of logcat:
-----------------------------------------------------------