1st, i download model by this command
cd $SNPE_ROOT
python ./models/alexnet/scripts/setup_alexnet.py -a ./temp-assets-cache -d
2nd, i add "DSP" runtime in $SNPE_ROOT/benchmarks/alexnet_sample.json
3rd, I run by cmd
python snpe_bench.py -c alexnet_sample.json -a
and everything is fine when I run it on Snapdragon 855, but when I ran it on 845, I got error on DSP runtime like this, any ideas?
2019-05-07 00:57:53,686 - INFO - snpe_bench: Running on DSP_timing2019-05-07 00:57:53,686 - INFO - snpe_bench: Run 12019-05-07 00:58:08,846 - ERROR - snpe_bench: ['The selected runtime is not available on this platform. Continue anyway to observe the failure at network creation time.']2019-05-07 00:58:08,846 - ERROR - snpe_bench: ['Detected Symphony redirected with a file, using standard error for all debugging output', '\x1b[36mA tf04d9494 /home/host/build/arm-android-gcc4.9/SecondParty/symphony/src/symphony/src/lib/internal/soc/qti_soc_freqs.h:28 Unable to read from /sys/class/kgsl/kgsl-3d0/gpu_available_frequencies\x1b[0m', '\x1b[36mA tf04d9494 /home/host/build/arm-android-gcc4.9/SecondParty/symphony/src/symphony/src/lib/internal/soc/topology.c:419 [WARNING] Unable to determine the GPU topology. All power control for GPU will be silently ignored.\x1b[0m', 'error_code=500; error_message=Target runtime is not available. No viable runtimes available.; error_component=Host Runtime; line_no=320; thread_id=-263351148']2019-05-07 00:58:08,846 - WARNING - snpe_bench: Failed to perform benchmark for DSP_timing.
Hi,
Can you let us know, if you have followed the instructions from SNPE Document for DSP runtime environmnet setup.
well, I followed the steps here https://developer.qualcomm.com/docs/snpe/benchmarking.html.
but the snpe_bench.py well generated android commands like this, so, i believe it had setup the DSP runtime env.