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.

RTOS/TDA2: tidl_OD Usecase error

Part Number: TDA2

Tool/software: TI-RTOS

Hi Everyone,

I am trying to run "TIDL OD usecase" on VSDK 3.4 , I believe the following bin files are required for the successful execution of usecase

> TIDL OD Network file (NET_OD.bin)
> TIDL OD Parameter file (PRM_OD.bin)
> TIDL OD Usecase input data file (inData_OD)
> TIDL OD Usecase input header file (inHeader_OD)

For the network file and parameter file I have copied below files from the path ,  vision_sdk\apps\tools\TIDL_files\ 

> tidl_net_jdetNet_ssd.bin

> tidl_param_jdetNet_ssd.bin

For the Use case input data , I have downloaded the clip files from CDDS (currently trying with clip2.avi under single_cam_video_input_clips) and followed the below procedure to generate header file and data file

1) inData_OD generation

    > ffmpeg -i clip2.avi -y -c:v libx264 -vframes 50 inData_OD


2) inHeader_OD generation

    >ffprobe -show_packets ./inData_OD >index.idx

    >PAT=size

    >sed -n "/$PAT/p" index.idx | cut -d' ' -f3 >> size_extracted.txt

     After this step, size_extracted.txt will contain size of the frames. Remove the string "size=" from each line in the file and save only the numbers in size_extracted_jelly.txt.

     >cat size_extracted_jelly.txt | perl -n -e 'printf("%08x\n",$_)' | sed 's/\(..\)\(..\)\(..\)\(..\)/0x\4\n0x\3\n0x\2\n0x\1/' | xxd -r -p > Size_test.bin && du -b Size_test.bin

    >cp Size_test.bin inHeader_OD

I have also copied the respective text file with below details


TIDL Configuration parameters
-----------------------------

inputWidth=736
inputHeight=320
inputFile=inData_OD
inputHDRFile=inHeader_OD
netFileName=tidl_net_jdetNet_ssd.bin
paramFileName=tidl_param_jdetNet_ssd.bin
fps=30
threshold=0.3

However , I am getting following error while running the usecase

 DECODE: ERROR: ALGPROCESS FAILED (status=0x20208001) !!!
 DEC_LINK: outArgs->viddec3OutArgs.extendedError for channel 0 Error: 0x20208001
 DEC_LINK: Sequence called number 1

 Kindly help me on resolving this issue . I have tried same for Semantic segmentation usecase with net and param bin files from the path /ti_components/algorithms/REL.TIDL.01.01.01.00/modules/ti_dl/test/testvecs/config/tidl_models/jsegnet21/ but i got the same error.

I have referred below forum links for it