Hello,
I'm trying to run a demo code to inference on the device with a tflite ssd object detection mode that I compiled with edgeai-tidl-tools on my laptop.
The script runs the inference over a few images taken from a local folder, and this is the output log:
root@tda4vm-sk:/opt/luca-TI/my_workfolder# python3 my_tflite_od_demo.py --mdl tf2_ssd_mobilenet_v2_coco17_ptq Number of subgraphs:1 , 102 nodes delegated out of 102 nodes APP: Init ... !!! MEM: Init ... !!! MEM: Initialized DMA HEAP (fd=5) !!! MEM: Init ... Done !!! IPC: Init ... !!! IPC: Init ... Done !!! REMOTE_SERVICE: Init ... !!! REMOTE_SERVICE: Init ... Done !!! 154554.590234 s: GTC Frequency = 200 MHz APP: Init ... Done !!! 154554.590417 s: VX_ZONE_INIT:Enabled 154554.590465 s: VX_ZONE_ERROR:Enabled 154554.590509 s: VX_ZONE_WARNING:Enabled 154554.591176 s: VX_ZONE_INIT:[tivxInitLocal:130] Initialization Done !!! 154554.592295 s: VX_ZONE_INIT:[tivxHostInitLocal:93] Initialization Done for HOST !!! Inference at image: 0 named 000000000108.jpg Inference at image: 1 named 000000000527.jpg Inference at image: 2 named 000000001367.jpg Inference at image: 3 named 000000002059.jpg Inference at image: 4 named 000000002409.jpg 154554.731217 s: VX_ZONE_INIT:[tivxHostDeInitLocal:107] De-Initialization Done for HOST !!! 154554.735581 s: VX_ZONE_INIT:[tivxDeInitLocal:193] De-Initialization Done !!! APP: Deinit ... !!! REMOTE_SERVICE: Deinit ... !!! REMOTE_SERVICE: Deinit ... Done !!! IPC: Deinit ... !!! IPC: DeInit ... Done !!! MEM: Deinit ... !!! DDR_SHARED_MEM: Alloc's: 10 alloc's of 7713512 bytes DDR_SHARED_MEM: Free's : 10 free's of 7713512 bytes DDR_SHARED_MEM: Open's : 0 allocs of 0 bytes DDR_SHARED_MEM: Total size: 536870912 bytes MEM: Deinit ... Done !!! APP: Deinit ... Done !!! Segmentation fault (core dumped)
Do you have any idea of what it could be? While compiling with edgeai-tidl-tools there was no error.
(The script is correct because when I run it only on the processor, it works perfectly).