Hello,
We are seeing following error when using the argument "--use_dsp" to use DSP runtime:
/tmp/snpe # /lib/ld-2.28.so /tmp/snpe/aarch64-oe-linux-gcc8.2/bin/snpe-net-run --input_list /tmp/snpe/input_list.txt --container /tmp/snpe/output_snpe.dlc --output_dir /tmp/snpe/output_dsp --debug --use_dsp
error_code=902; error_message=Layer parameter value is invalid in DSP.
error_code=902; error_message=Layer parameter value is invalid in DSP.
Layer Reshape_261: Maximum number of output dimensions(4) exceeded. 5 output dimension were given for DSP runtime.;
error_component=DSP Runtime; line_no=140; thread_id=547896058144;
error_component=DSP Runtime; line_no=342; thread_id=547931369488
/tmp/snpe #
It runs and generate output tensors as expected when we don't use "--use_dsp".
We can't change our layer dimensions - see below from layer info.
-----------------------------------------------------------------------------------------------------------------------------------
| Id | Name | Type | Inputs | Outputs | Out Dims | Runtimes | Parameters |
-----------------------------------------------------------------------------------------------------------------------------------
| 260 | Reshape_261 | reshape | 429.ncs | 441 | 1x3x8x48x80 | G C | |
Any recommendation to resolve this issue to run on DSP runtime?
Also, one more question - When Runtimes says "GC" - does that mean it can run on GPU and CPU only? Which runtime does it use when I don't define "--use_dsp"?
Thanks!
AMistry
Dear customer,
For CDSP runtime, your model need to quanize with our tools of snpe-dlc-quantize. Then you can run quantized model on cdsp runtime.
BR.
Wei
I quantize the DLC model and it does show the DSP runtime supported when I extracted the quantized model info.
<HOST>#./snpe-dlc-quantize --input_dlc /home/my_snpe.dlc --output_dlc /home/my_snpe_quant.dlc --input_list /home/input_list.txt
Here is how the quantized model info looks like:
Though, running the quatized model on target board gives following errors:
<TARGET>$/tmp/snpe # /lib/ld-2.28.so /tmp/snpe/aarch64-oe-linux-gcc8.2/bin/snpe-net-run --input_list /tmp/snpe/input_list.txt --container /tmp/snpe/my_snpe_quant.dlc --output_dir /tmp/snpe/output --use_dsp
Can the support team provide support to my questions? Thanks!
Hi,
Did you manage to work past that error by any means and also get an understanding what exactly is causing it? I'm experimenting something similar even when trying out the UDO tutorial presented in the documentation. I find this quite odd.
Thanks