This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TDA4VM: j784s4-evm edge-ai example running fails

Part Number: TDA4VM

root@j784s4-evm:/opt/edgeai-tiovx-apps# ./bin/Release/app_edgeai_tiovx ./configs/stt_test_2.yaml
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 !!!
967644.979811 s: GTC Frequency = 200 MHz
APP: Init ... Done !!!
967644.979898 s: VX_ZONE_INIT:Enabled
967644.979908 s: VX_ZONE_ERROR:Enabled
967644.979915 s: VX_ZONE_WARNING:Enabled
967644.980689 s: VX_ZONE_INIT:[tivxInitLocal:130] Initialization Done !!!
967644.981643 s: VX_ZONE_INIT:[tivxHostInitLocal:96] Initialization Done for HOST !!!
[15:22:45.000.000000]:ERROR:[readConfig:0174] Config file size (37272 bytes) does not match size of sTIDL_IOBufDesc_t (149016 bytes)
967644.985466 s: VX_ZONE_ERROR:[vxGetStatus:700] Reference is NULL
[15:22:45.000.000076]:ERROR:[getConfig:0115] Read Config failed.
967644.985506 s: VX_ZONE_ERROR:[vxSetReferenceName:646] Invalid reference
967644.985519 s: VX_ZONE_ERROR:[vxMapUserDataObject:456] Invalid user data object reference
Segmentation fault (core dumped)


the content of stt_test_2.yaml:

title: "Image Classification"
log_level: 2
inputs:
input0:
source: camera
width: 1920
height: 1080
camera-id: 0
input1:
source: /opt/edgeai-test-data/raw_images/tiovx_apps/0000.nv12
width: 1280
height: 720
loop: True
input2:
source: /opt/edgeai-test-data/raw_images/tiovx_apps/
width: 1280
height: 720
loop: True

models:
model0:
model_path: /opt/edgeai-tiovx-apps/model_zoo/TFL-CL-0000-mobileNetV1-mlperf
topN: 5
model1:
model_path: /opt/model_zoo/ONR-CL-6360-regNetx-200mf
topN: 5
outputs:
output0:
sink: display
width: 1920
height: 1080
output1:
sink: /opt/edgeai-test-data/output/output_image.nv12
width: 1920
height: 1080
output2:
sink: /opt/edgeai-test-data/output/
width: 1920
height: 1080

flows:
flow0: [input2,model0,output2,[320,150,1280,720]]


I have check that `/opt/edgeai-tiovx-apps/model_zoo/TFL-CL-0000-mobileNetV1-mlperf/` exists and it is a folder.

How can I solve this error: `[15:22:45.000.000000]:ERROR:[readConfig:0174] Config file size (37272 bytes) does not match size of sTIDL_IOBufDesc_t (149016 bytes)`