Other Parts Discussed in Thread: 4213
Tool/software:
I am trying the SDK 9.2.
I run the default demo, it is running like this:
root@tda4vm-sk:/opt/edgeai-gst-apps/apps_python# python3 app_edgeai.py ../configs/object_detection.yaml
libtidl_onnxrt_EP loaded 0x39211760
Final number of subgraphs created are : 1, - Offloaded Nodes - 283, Total Nodes - 283
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 !!!
4212.865192 s: GTC Frequency = 200 MHz
APP: Init ... Done !!!
4212.865268 s: VX_ZONE_INIT:Enabled
4212.865277 s: VX_ZONE_ERROR:Enabled
4212.865282 s: VX_ZONE_WARNING:Enabled
4212.865828 s: VX_ZONE_INIT:[tivxPlatformCreateTargetId:116] Added target MPU-0
4212.865924 s: VX_ZONE_INIT:[tivxPlatformCreateTargetId:116] Added target MPU-1
4212.866013 s: VX_ZONE_INIT:[tivxPlatformCreateTargetId:116] Added target MPU-2
4212.866109 s: VX_ZONE_INIT:[tivxPlatformCreateTargetId:116] Added target MPU-3
4212.866119 s: VX_ZONE_INIT:[tivxInitLocal:136] Initialization Done !!!
4212.866584 s: VX_ZONE_INIT:[tivxHostInitLocal:101] Initialization Done for HOST !!!
[ERROR] Could not get allowed GstCaps of device
4213.130218 s: VX_ZONE_ERROR:[vxGetStatus:1020] Reference is NULL
4213.134274 s: VX_ZONE_INIT:[tivxHostDeInitLocal:115] De-Initialization Done for HOST !!!
4213.138731 s: VX_ZONE_INIT:[tivxDeInitLocal:204] De-Initialization Done !!!
APP: Deinit ... !!!
REMOTE_SERVICE: Deinit ... !!!
REMOTE_SERVICE: Deinit ... Done !!!
IPC: Deinit ... !!!
IPC: DeInit ... Done !!!
MEM: Deinit ... !!!
DDR_SHARED_MEM: Alloc's: 15 alloc's of 32899080 bytes
DDR_SHARED_MEM: Free's : 15 free's of 32899080 bytes
DDR_SHARED_MEM: Open's : 0 allocs of 0 bytes
MEM: Deinit ... Done !!!
APP: Deinit ... Done !!!
root@tda4vm-sk:/opt/edgeai-gst-apps/apps_python#
There is an error in the log. If this is a problem of SDK?
And the yaml file is like this:
root@tda4vm-sk:/opt/edgeai-gst-apps/configs# cat object_detection.yaml
title: "Object Detection"
log_level: 2
inputs:
input0:
source: /dev/video-usb-cam0
format: jpeg
width: 1280
height: 720
framerate: 30
input1:
source: /opt/edgeai-test-data/videos/video0_1280_768.h264
format: h264
width: 1280
height: 768
framerate: 30
loop: True
input2:
source: /opt/edgeai-test-data/images/%04d.jpg
width: 1280
height: 720
index: 0
framerate: 1
loop: True
models:
model0:
model_path: /opt/model_zoo/TVM-OD-5120-ssdLite-mobDet-DSP-coco-320x320
viz_threshold: 0.6
model1:
model_path: /opt/model_zoo/TFL-OD-2020-ssdLite-mobDet-DSP-coco-320x320
viz_threshold: 0.6
model2:
model_path: /opt/model_zoo/ONR-OD-8200-yolox-nano-lite-mmdet-coco-416x416
viz_threshold: 0.6
outputs:
output0:
sink: kmssink
width: 1920
height: 1080
overlay-perf-type: graph
output1:
sink: /opt/edgeai-test-data/output/output_video0.mkv
width: 1920
height: 1080
output2:
sink: /opt/edgeai-test-data/output/output_image_%04d.jpg
width: 1920
height: 1080
output3:
sink: remote
width: 1920
height: 1080
port: 8081
host: 127.0.0.1
encoding: jpeg
overlay-perf-type: graph
flows:
flow0: [input1,model2,output0,[320,150,1280,720]]
root@tda4vm-sk:/opt/edgeai-gst-apps/configs#
Regards,
Makoto.