Board: Thundercomm AI Kit (arm-android-clang6.0)
Hexagon SDK: v3.5.2
Android NDK: v19c
Example: https://developer.qualcomm.com/sites/default/files/docs/snpe/tutorial_in...
After setup environment variables, downloading libraries, model and data to board according to above example, verified OK with snpe-platform-validator:
PF_VALIDATOR: DEBUG: Calling PlatformValidator->setRuntime
PF_VALIDATOR: DEBUG: Calling PlatformValidator->RuntimeCheck
PF_VALIDATOR: DEBUG: Testing for the support of DSP runtime.
PF_VALIDATOR: DEBUG: CPU side validation passed.
PF_VALIDATOR: DEBUG: starting calculator test
PF_VALIDATOR: DEBUG: Loading DSP stub: libcalculator.so
PF_VALIDATOR: DEBUG: Successfully loaded DSP library - 'libcalculator.so'. Setting up pointers.
PF_VALIDATOR: DEBUG: Success in executing the sum function
Unit Test on the runtime DSP: Passed.
SNPE is supported for runtime DSP on the device.
PF_VALIDATOR: DEBUG: Calling PlatformValidator->IsRuntimeAvailable
PF_VALIDATOR: DEBUG: CPU side validation passed.
PF_VALIDATOR: DEBUG: starting calculator test
PF_VALIDATOR: DEBUG: Loading DSP stub: libcalculator.so
PF_VALIDATOR: DEBUG: Successfully loaded DSP library - 'libcalculator.so'. Setting up pointers.
PF_VALIDATOR: DEBUG: Success in executing the sum function
Runtime DSP Prerequisites: Present.
However, executing the quantized DLC model via snpe-net-run generated the following error. Any idea to fix that error ?
WARNING: Library libUdoSoftmaxUdoPackageImplCpu.so could not be loaded: 'dlopen failed: library "libUdoSoftmaxUdoPackageImplCpu.so" not found.' Runtime may be impacted.
WARNING: Library libUdoSoftmaxUdoPackageImplGpu.so could not be loaded: 'dlopen failed: library "libUdoSoftmaxUdoPackageImplGpu.so" not found.' Runtime may be impacted.
error_code=910; error_message=DSP runtime system error. error_code=910; error_message=DSP runtime system error. Failed to load network. UDO DSP implementation library failed to load. Error code: -18. rp
c_error_code=0x400, line_no=0; error_component=DSP Runtime; line_no=841; thread_id=-401606288; error_component=DSP Runtime; line_no=267; thread_id=-370936668
Dear customer,
What's commands you have used?
The error means that SNPE can get the corresponding UDO library.
Could you please share the full logcat and QXDM(mini-dm) to us for more deeply analysis?
BR.
Wei
I also have the same problem. Both quantized and non-quantized experiments have been conducted, and the errors are consistent with your problem. May I ask whether you have located the problem now?
met too
I also experience the same issue. The mistakes are consistent with geometry dash your issue and have been observed in both quantized and non-quantized trials. May I know if you have found the issue at this time?
I 've runs success by adding signature lib positon to ADSP_LIBRARY_PATH and LD_LIBRARY_PATH. It seems the reason of cannot find signature lib. signature lib is generated by hexagon sdk script.
wish it can help you.
Hi,
Actually , you must run the snpe-throughput-net-run command on the path where UdoPackageReg.so file is present.
If you didn't run the command inside that path you will get this type of error.
Thanks.
This tutorial describes the steps needed to create a UDO package for DSP runtime and execute the Inception-V3 model using the package. The Softmax operation has been chosen in this tutorial to demonstrate the implementation of a UDO with SNPE. This tutorial also describes the offline cache generation steps for DSP V68.
The SNPE SDK provides the resources for this example under