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.

algInit failure with TIDL host emulation for custom TIDL network

Hi,

We came up with a network on Tensorflow for object detection and converted it to TIDL format. However. during the conversion, the tidl network and param bin files are generated but the stats bin tool reports an error. Similar error is reported when running the network with the TIDL host emulation binary. Following is the console spew:

Processing config file ../testvecs/config/infer/tidl_config_tf.txt !
  0, TIDL_DataLayer                ,  0,  -1 ,  1 ,  x ,  x ,  x ,  x ,  x ,  x ,  x ,  x ,  0 ,    0 ,    0 ,    0 ,    0 ,    1 ,    3 ,  416 ,  416 ,
  1, TIDL_ConvolutionLayer         ,  1,   1 ,  1 ,  0 ,  x ,  x ,  x ,  x ,  x ,  x ,  x ,  1 ,    1 ,    3 ,  416 ,  416 ,    1 ,   16 ,  208 ,  208 ,
  2, TIDL_ConvolutionLayer         ,  1,   1 ,  1 ,  1 ,  x ,  x ,  x ,  x ,  x ,  x ,  x ,  2 ,    1 ,   16 ,  208 ,  208 ,    1 ,   32 ,  104 ,  104 ,
  3, TIDL_ConvolutionLayer         ,  1,   1 ,  1 ,  2 ,  x ,  x ,  x ,  x ,  x ,  x ,  x ,  3 ,    1 ,   32 ,  104 ,  104 ,    1 ,   64 ,   52 ,   52 ,
  4, TIDL_ConvolutionLayer         ,  1,   1 ,  1 ,  3 ,  x ,  x ,  x ,  x ,  x ,  x ,  x ,  4 ,    1 ,   64 ,   52 ,   52 ,    1 ,  128 ,   26 ,   26 ,
  5, TIDL_ConvolutionLayer         ,  1,   1 ,  1 ,  4 ,  x ,  x ,  x ,  x ,  x ,  x ,  x ,  5 ,    1 ,  128 ,   26 ,   26 ,    1 ,  256 ,   13 ,   13 ,
  6, TIDL_ConvolutionLayer         ,  1,   1 ,  1 ,  5 ,  x ,  x ,  x ,  x ,  x ,  x ,  x ,  6 ,    1 ,  256 ,   13 ,   13 ,    1 ,  512 ,    6 ,    6 ,
  7, TIDL_ConvolutionLayer         ,  1,   1 ,  1 ,  6 ,  x ,  x ,  x ,  x ,  x ,  x ,  x ,  7 ,    1 ,  512 ,    6 ,    6 ,    1 , 1024 ,    6 ,    6 ,
  8, TIDL_ConvolutionLayer         ,  1,   1 ,  1 ,  7 ,  x ,  x ,  x ,  x ,  x ,  x ,  x ,  8 ,    1 , 1024 ,    6 ,    6 ,    1 , 1024 ,    6 ,    6 ,
  9, TIDL_ConvolutionLayer         ,  1,   1 ,  1 ,  8 ,  x ,  x ,  x ,  x ,  x ,  x ,  x ,  9 ,    1 , 1024 ,    6 ,    6 ,    1 ,  125 ,    6 ,    6 ,
 10, TIDL_DataLayer                ,  0,   1 , -1 ,  9 ,  x ,  x ,  x ,  x ,  x ,  x ,  x ,  0 ,    1 ,  125 ,    6 ,    6 ,    0 ,    0 ,    0 ,    0 ,
Layer ID    ,inBlkWidth  ,inBlkHeight ,inBlkPitch  ,outBlkWidth ,outBlkHeight,outBlkPitch ,numInChs    ,numOutChs   ,numProcInChs,numLclInChs ,numLclOutChs,numProcItrs ,numAccItrs  ,numHorBlock ,numVerBlock ,inBlkChPitch,outBlkChPitc,alignOrNot
      1           40           34           40           32           32           32            3           16            3            1            8            1            3           13           13         1360         1024            1    
      2           40           34           40           32           32           32           16           32           16            6            8            1            3            7            7         1360         1024            1    
      3           40           34           40           32           32           32           32           64           32            6            8            1            6            4            4         1360         1024            1    
      4           40           34           40           32           32           32           64          128           64            6            8            1           11            2            2         1360         1024            1    
      5           40           28           40           32           26           32          128          256          128            8            8            1           16            1            1         1120          832            1    

Algorithm Init failed with error number: -1015
Error at line:  1521 : in file          src/tidl_tb.c, of                             function : test_ti_dl_ivison
End of config list found !

 


As you can see in the error above, algInit() fails with error number -1015. Can you please guide me on what could be the potential causes for this error and how to debug this further?

The bin files and the network definition, etc are available at for your reference.

 

Thanks,

Bhargav