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.

TDA2EXEVM: error when change SSD model input size

Part Number: TDA2EXEVM

Hi:

   I changed the input size of SSD model from 768x320 to 420x240 ,retrained it,and convert to tidl formart.

   It work success in the "TIDL File I/O Usecase".

   Then I change the input size in file "chains_tidlOD.c" as:

#define TIDL_OD_INPUT_WIDTH          (420)    
#define TIDL_OD_INPUT_HEIGHT         (240)

#define DEC_OUT_WIDTH               (420)
#define DEC_OUT_HEIGHT              (240)

#define TIDL_OD_DISPLAY_WIDTH        (TIDL_OD_INPUT_WIDTH*2)
#define TIDL_OD_DISPLAY_HEIGHT       (TIDL_OD_INPUT_HEIGHT*2)
#define TIDL_OD_DISPLAY_STARTX       (1920 - TIDL_OD_DISPLAY_WIDTH)/2
#define TIDL_OD_DISPLAY_STARTY       (64)

 

      But when I run it in the "3: TIDL OD Usecase",there has an error,the print log is below:

 
[IPU1-0]  TIDL Usecases
[IPU1-0]  ---------------
[IPU1-0]  1: TIDL File I/O Usecase
[IPU1-0]  2: Semantic Segmentation Usecase
[IPU1-0]  3: TIDL OD Usecase
[IPU1-0]  
[IPU1-0]  x: Exit
[IPU1-0]  
[IPU1-0]  Enter Choice:
[IPU1-0]  
[IPU1-0]     18.415085 s:  
[IPU1-0]     20.241841 s:  FILE: Reading file [inHeader_OD] ...
[IPU1-0]     20.249161 s:  FILE: File read Done. [15600 bytes]
[IPU1-0]     20.261758 s:  DECODE: Create in progress ... !!!
[IPU1-0]     20.394528 s:  DECODE: Creating CH0 of 420 x 240 [1] [0],target bitrate = 10000 Kbps ...
[IPU1-0]     20.395321 s:  DECODE: All CH Create ... DONE !!!
[IPU1-0]     20.397151 s:  DECODE: Create ... DONE !!!
[IPU1-0]     20.397517 s:  VPE: Create in progress !!!
[IPU1-0]     20.472152 s:  VPE: Loading Down-scaling Co-effs
[IPU1-0]     20.472396 s:  VPE: Co-effs Loading ... DONE !!!
[IPU1-0]     20.472579 s:  VPE: Create Done !!!
[IPU1-0]     20.473677 s:  IPC_OUT_0   : Create in progress !!!
[IPU1-0]     20.474074 s:  IPC_OUT_0   : Create Done !!!
[HOST  ]     20.474257 s:  IPC_IN_0   : Create in progress !!!
[HOST  ]     20.474562 s:  IPC_IN_0   : Create Done !!!
[HOST  ]     20.474684 s:  ALGORITHM: Create in progress (algId = 12) !!!
[HOST  ]     20.479594 s:  UTILS: DMA: Allocated CH (TCC) = 0 (0)
[HOST  ]     20.479625 s:  UTILS: DMA: 0 of 1: Allocated PaRAM = 0 (0x43305600)
[HOST  ]     20.479625 s:  ALGORITHM: Create Done (algId = 12) !!!
[HOST  ]     20.479716 s:  IPC_OUT_3   : Create in progress !!!
[HOST  ]     20.479777 s:  IPC_OUT_3   : Create Done !!!
[EVE4  ]     20.480052 s:  IPC_IN_0   : Create in progress !!!
[EVE4  ]     20.480936 s:  IPC_IN_0   : Create Done !!!
[EVE4  ]     20.481760 s:  ALGORITHM: Create in progress (algId = 14) !!!
[HOST  ]     23.134539 s:  IPC_OUT_2   : Create in progress !!!
[HOST  ]     23.134569 s:  IPC_OUT_2   : Create Done !!!
[DSP1  ]     23.133837 s:  IPC_IN_3   : Create in progress !!!
[DSP1  ]     23.134386 s:  IPC_IN_3   : Create Done !!!
[EVE3  ]     23.134874 s:  IPC_IN_0   : Create in progress !!!
[EVE3  ]     23.135759 s:  IPC_IN_0   : Create Done !!!
[EVE3  ]     23.136491 s:  ALGORITHM: Create in progress (algId = 14) !!!
[EVE4  ]     23.132343 s:  ALGORITHM: Create Done (algId = 14) !!!
[EVE4  ]     23.132953 s:  IPC_OUT_0   : Create in progress !!!
[EVE4  ]     23.133410 s:  IPC_OUT_0   : Create Done !!!
[HOST  ]     25.789452 s:  IPC_OUT_1   : Create in progress !!!
[HOST  ]     25.789483 s:  IPC_OUT_1   : Create Done !!!
[DSP1  ]     25.788629 s:  IPC_IN_2   : Create in progress !!!
[DSP1  ]     25.789300 s:  IPC_IN_2   : Create Done !!!
[EVE2  ]     25.789757 s:  IPC_IN_0   : Create in progress !!!
[EVE2  ]     25.790672 s:  IPC_IN_0   : Create Done !!!
[EVE2  ]     25.791435 s:  ALGORITHM: Create in progress (algId = 14) !!!
[EVE3  ]     25.787104 s:  ALGORITHM: Create Done (algId = 14) !!!
[EVE3  ]     25.787714 s:  IPC_OUT_0   : Create in progress !!!
[EVE3  ]     25.788171 s:  IPC_OUT_0   : Create Done !!!
[HOST  ]     28.463338 s:  IPC_OUT_0   : Create in progress !!!
[HOST  ]     28.463399 s:  IPC_OUT_0   : Create Done !!!
[DSP1  ]     28.462544 s:  IPC_IN_1   : Create in progress !!!
[DSP1  ]     28.463185 s:  IPC_IN_1   : Create Done !!!
[EVE1  ]     28.463673 s:  IPC_IN_0   : Create in progress !!!
[EVE1  ]     28.464558 s:  IPC_IN_0   : Create Done !!!
[EVE1  ]     28.465320 s:  ALGORITHM: Create in progress (algId = 14) !!!
[EVE2  ]     28.460928 s:  ALGORITHM: Create Done (algId = 14) !!!
[EVE2  ]     28.461538 s:  IPC_OUT_0   : Create in progress !!!
[EVE2  ]     28.462087 s:  IPC_OUT_0   : Create Done !!!
[DSP1  ]     31.134386 s:  IPC_IN_0   : Create in progress !!!
[DSP1  ]     31.134874 s:  IPC_IN_0   : Create Done !!!
[DSP1  ]     31.135301 s:  ALGORITHM: Create in progress (algId = 36) !!!
[EVE1  ]     31.132678 s:  ALGORITHM: Create Done (algId = 14) !!!
[EVE1  ]     31.133471 s:  IPC_OUT_0   : Create in progress !!!
[EVE1  ]     31.133929 s:  IPC_OUT_0   : Create Done !!!
[IPU1-0]     31.154090 s:  IPC_IN_0   : Create in progress !!!
[IPU1-0]     31.155127 s:  IPC_IN_0   : Create Done !!!
[IPU1-0]     31.156225 s:  ALGORITHM: Create in progress (algId = 1) !!!
[IPU1-0]     31.157262 s:  UTILS: DMA: Allocated CH (TCC) = 48 (48)
[IPU1-0]     31.157384 s:  UTILS: DMA: 0 of 1: Allocated PaRAM = 48 (0x63304800)
[IPU1-0]     31.164765 s:  ALGORITHM: Create Done (algId = 1) !!!
[IPU1-0]     31.164978 s:  DISPLAY: Create in progress !!!
[IPU1-0]     31.165314 s: dispcore/src/vpscore_dss.c @ Line 1053:
[IPU1-0]     31.165405 s: Pitch less than Width
[IPU1-0]     31.165497 s: dispdrv/src/vpsdrv_displayCore.c @ Line 304:
[IPU1-0]     31.165558 s: Set DSS parameter failed
[IPU1-0]     31.165619 s:  Assertion @ Line: 459 in displayLink_drv.c: status==SYSTEM_LINK_STATUS_SOK : failed !!!
[IPU1-0]     31.166076 s:  Assertion @ Line: 459 in displayLink_drv.c: status==SYSTEM_LINK_STATUS_SOK : failed !!!
[DSP1  ]     31.153693 s:  ALGORITHM: Create Done (algId = 36) !!!
[DSP1  ]     31.153907 s:  IPC_OUT_0   : Create in progress !!!
[DSP1  ]     31.153968 s:  IPC_OUT_0   : Create Done !!!

      What I missing?Pls help me!

Regards

  • Hello ,

    I see the following error
    [IPU1-0] 31.165405 s: Pitch less than Width
    [IPU1-0] 31.165497 s: dispdrv/src/vpsdrv_displayCore.c @ Line 304:
    [IPU1-0] 31.165558 s: Set DSS parameter failed
    [IPU1-0] 31.165619 s: Assertion @ Line: 459 in displayLink_drv.c: status==SYSTEM_LINK_STATUS_SOK : failed !!!
    [IPU1-0] 31.166076 s: Assertion @ Line: 459 in displayLink_drv.c: status==SYSTEM_LINK_STATUS_SOK : faile

    Can you please print the value of pitch and width and let us know,
    We have not tried with the 420x240 resolution .
    Either pitch is not set or wrongly set .

    Regards
    Chetan.M
  • Hi:
    Thanks! I resolve this by setting the DEC_OUT_WIDTH values.