root@j722s-evm:/opt/edgeai-gst-apps# cd /opt/edgeai-gst-apps
root@j722s-evm:/opt/edgeai-gst-apps# python3 apps_python/app_edgeai.py configs/waterbottle_yolox_nano.yaml
libtidl_onnxrt_EP loaded 0x25842a00
Final number of subgraphs created are : 2, - Offloaded Nodes - 268, Total Nodes - 277
APP: Init … !!!
1730.191277 s: MEM: Init … !!!
1730.191572 s: MEM: Initialized DMA HEAP (fd=5) !!!
1730.191818 s: MEM: Init … Done !!!
1730.191854 s: IPC: Init … !!!
1730.247920 s: IPC: Init … Done !!!
REMOTE_SERVICE: Init … !!!
REMOTE_SERVICE: Init … Done !!!
1730.262588 s: GTC Frequency = 200 MHz
APP: Init … Done !!!
1730.273688 s: VX_ZONE_INFO: Globally Enabled VX_ZONE_ERROR
1730.273735 s: VX_ZONE_INFO: Globally Enabled VX_ZONE_WARNING
1730.273752 s: VX_ZONE_INFO: Globally Enabled VX_ZONE_INFO
1730.275262 s: VX_ZONE_INFO: [tivxPlatformCreateTargetId:169] Added target MPU-0
1730.275588 s: VX_ZONE_INFO: [tivxPlatformCreateTargetId:169] Added target MPU-1
1730.275790 s: VX_ZONE_INFO: [tivxPlatformCreateTargetId:169] Added target MPU-2
1730.275924 s: VX_ZONE_INFO: [tivxPlatformCreateTargetId:169] Added target MPU-3
1730.275947 s: VX_ZONE_INFO: [tivxInitLocal:202] Initialization Done !!!
1730.276007 s: VX_ZONE_INFO: Globally Disabled VX_ZONE_INFO
1730.290000 s: VX_ZONE_ERROR: [vxGetStatus:1250] Reference is NULL
TIDL_RT_OVX: ERROR: Init TIDL failed
Traceback (most recent call last):
File “/opt/edgeai-gst-apps/apps_python/app_edgeai.py”, line 67, in
main(sys.argv)
File “/opt/edgeai-gst-apps/apps_python/app_edgeai.py”, line 46, in main
demo = EdgeAIDemo(config)
^^^^^^^^^^^^^^^^^^
File “/opt/edgeai-gst-apps/apps_python/edge_ai_class.py”, line 108, in init
model_obj.create_runtime()
File “/usr/lib/python3.12/site-packages/edgeai_dl_inferer.py”, line 315, in create_runtime
self.run_time = RunTime(self.artifacts,
^^^^^^^^^^^^^^^^^^^^^^^
File “/usr/lib/python3.12/site-packages/edgeai_dl_inferer.py”, line 170, in init
self.interpreter = _onnxruntime.InferenceSession(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/usr/lib/python3.12/site-packages/onnxruntime/capi/onnxruntime_inference_collection.py”, line 387, in init
self._create_inference_session(providers, provider_options, disabled_optimizers)
File “/usr/lib/python3.12/site-packages/onnxruntime/capi/onnxruntime_inference_collection.py”, line 439, in _create_inference_session
sess.initialize_session(providers, provider_options, disabled_optimizers)
onnxruntime.capi.onnxruntime_pybind11_state.Fail: [ONNXRuntimeError] : 1 : FAIL : Create state function failed. Return value:-1 Sir, iam doing project running the custom object detection models using DSP C7 and MMA in beagley-ai board . i create custom object detection model using yolox_nano i compiled the model using edgeai-tools in pc it generates the artifacts . and i copy the artifacts into begaley-ai while running the inference in beagley-ai board it showing the error. please help me to resolve the error sir @jkridner @RobertCNelson @aswinvenu @silver2row
1 Like
I have not been able to perform all tests yet. I can only perform two out of the many installable collections from model_zoo.
I wish you luck so far. I stopped trying about a month ago but one thing noted here:
- The building of the image may help further understandings.
- I have not been able to find time for image building from openbeagle.org so far.
- Making sure you're not a bot!
That image building set of scripts may help you.