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: Failed Compilation of custom model

Part Number: TDA4VM

Hi,

I'm trying to compile a custom model on PC(x86) - Ubuntu 22.04  using edgeai_tidl_tools(latest - 26/03/24).

I'm facing an issue on this, the inference doesn't halt. It is frozen after  *******   In TIDL_subgraphRtInvoke  ********  .

In TIDL_runtimesPostProcessNet 4
************ in TIDL_subgraphRtCreate ************ 
 The soft limit is 2048
The hard limit is 2048
MEM: Init ... !!!
MEM: Init ... Done !!!
 0.0s:  VX_ZONE_INIT:Enabled
 0.1s:  VX_ZONE_ERROR:Enabled
 0.2s:  VX_ZONE_WARNING:Enabled
 0.1091s:  VX_ZONE_INIT:[tivxInit:185] Initialization Done !!!
************ TIDL_subgraphRtCreate done ************ 
 *******   In TIDL_subgraphRtInvoke  ******** 
   0         1.00000         0.00003         0.99999 6
   1         1.00000         0.00003         0.99999 6
   2         1.00000         0.00000        18.22760 6
   3         1.00000       -22.95784        23.34633 6
   4         1.00000         0.00000        18.52748 6
   5         1.00000         0.00000        16.63744 6
   6         1.00000       -35.66938        29.38376 6
   7         1.00000         0.00000        24.47215 6
   8         1.00000         0.00000        24.47215 6
   9         1.00000         0.00000        24.47215 6
  10         1.00000         0.00000        23.97921 6
  11         1.00000         0.00000        24.47215 6
  12         1.00000         0.00000        13.60912 6
  13         1.00000       -21.31722        24.14623 6
  14         1.00000         0.00000        13.95816 6
  15         1.00000         0.00000        23.97921 6
  16         1.00000         0.00000        23.97921 6
  17         1.00000         0.00000        19.25303 6
  18         1.00000         0.00000        23.97921 6
  19         1.00000         0.00000         8.20622 6
  20         1.00000       -26.19235        20.87516 6
  21         1.00000         0.00000        12.56523 6
  22         1.00000         0.00000        19.25303 6
  23         1.00000         0.00000        19.25303 6
  24         1.00000         0.00000        19.15417 6
  25         1.00000         0.00000        19.25303 6
  26         1.00000         0.00000         9.42462 6
  27         1.00000       -15.60825        22.31817 6
  28         1.00000         0.00000        12.10570 6
  29         1.00000         0.00000        19.15417 6
  30         1.00000         0.00000        19.15417 6
  31         1.00000       -14.81230        14.13797 6
  32         1.00000         0.00000         9.78303 6
  33         1.00000         0.00000        13.04740 6
  34         1.00000       -16.42818        13.86886 6
  35         1.00000         0.00000        11.37138 6
  36         1.00000         0.00000        11.37138 6
  37         1.00000         0.00000        11.37138 6
  38         1.00000         0.00000        10.50990 6
  39         1.00000         0.00000        11.37138 6
  40         1.00000         0.00000         5.87220 6
  41         1.00000        -9.40662        13.79551 6
  42         1.00000         0.00000         7.20522 6
  43         1.00000         0.00000        10.50990 6
  44         1.00000         0.00000        10.50990 6
  45         1.00000         0.00000        10.50990 6
  46         1.00000         0.00000         6.75473 6
  47         1.00000         0.00000         5.71871 6
  48         1.00000       -10.14189        16.80318 6
  49         1.00000         0.00000         9.92256 6
  50         1.00000         0.00000        10.50990 6
  51         1.00000         0.00000        10.50990 6
  52         1.00000         0.00000        10.50990 6
  53         1.00000         0.00000         9.92256 6
  54         1.00000         0.00000         7.31479 6
  55         1.00000       -15.11326        22.41639 6
  56         1.00000         0.00000         9.91941 6
  57         1.00000         0.00000        10.50990 6
  58         1.00000         0.00000        10.50990 6
  59         1.00000         0.00000        10.50990 6
  60         1.00000         0.00000         9.13293 6
  61         1.00000         0.00000         6.67918 6
  62         1.00000       -16.52295        16.94468 6
  63         1.00000         0.00000        11.31541 6
  64         1.00000         0.00000        11.31541 6
  65         1.00000         0.00000        11.31541 6
  66         1.00000         0.00000        10.50990 6
  67         1.00000         0.00000        11.31541 6
  68         1.00000         0.00000         7.29694 6
  69         1.00000       -22.81109        12.59640 6
  70         1.00000         0.00000         8.09317 6
  71         1.00000         0.00000        10.50990 6
  72         1.00000         0.00000        10.50990 6
  73         1.00000         0.00000         8.01015 6
  74         1.00000         0.00000        10.50990 6
  75         1.00000         0.00000         5.83601 6
  76         1.00000       -13.69232        13.15533 6
  77         1.00000         0.00000         8.19966 6
  78         1.00000         0.00000         8.19966 6
  79         1.00000         0.00000         8.19966 6
  80         1.00000         0.00000         7.47688 6
  81         1.00000         0.00000         8.19966 6
  82         1.00000         0.00000         6.35148 6
  83         1.00000       -17.55709        17.04778 6
  84         1.00000         0.00000         9.97488 6
  85         1.00000         0.00000         9.97488 6
  86         1.00000         0.00000         9.97488 6
  87         1.00000        -9.28005         9.09461 6
  88         1.00000         0.00000         4.69044 6
  89         1.00000         0.00000         7.82371 6
  90         1.00000       -13.95076        11.97064 6
  91         1.00000         0.00000         9.55357 6
  92         1.00000         0.00000         9.55357 6
  93         1.00000         0.00000         9.55357 6
  94         1.00000         0.00000         6.72975 6
  95         1.00000         0.00000         9.55357 6
  96         1.00000         0.00000         6.40546 6
  97         1.00000        -8.62152        11.58674 6
  98         1.00000         0.00000         5.68172 6
  99         1.00000         0.00000         6.72975 6
 100         1.00000         0.00000         6.72975 6
 101         1.00000         0.00000         6.72975 6
 102         1.00000         0.00000         6.19480 6
 103         1.00000         0.00000         9.99279 6
 104         1.00000       -10.35420        13.44050 6
 105         1.00000         0.00000        10.88397 6
 106         1.00000         0.00000        10.88397 6
 107         1.00000         0.00000        10.88397 6
 108         1.00000         0.00000        10.88397 6
 109         1.00000         0.00000         7.68266 6
 110         1.00000         0.00000         5.55894 6
 111         1.00000        -9.88393         8.60772 6
 112         1.00000         0.00000         8.46910 6
 113         1.00000         0.00000        10.88397 6
 114         1.00000         0.00000        10.88397 6
 115         1.00000         0.00000         9.31098 6
 116         1.00000         0.00000         9.31098 6
 117         1.00000       -42.13771        13.04553 6
 118         1.00000       -42.13771        13.04553 6
 119         1.00000       -42.13771        13.04553 6
 121         1.00000       -42.13771        13.04553 6
 122         1.00000       -29.87323         8.82268 6
 123         1.00000       -29.87323         8.82268 6

I'm attaching the onnx model, console_log file, sample onnxrt_ep.py(generated random np array for infer image) that I used, artifacts generated(incomplete) . 

https://drive.google.com/drive/folders/13_nI8NE3O8tblBaT2hYWAPc-4vtmx2v_?usp=drive_link

Kindly let me know if you can help. 

Note: The model runs perfectly fine in  https://dev.ti.com/edgeaistudio/.

But fails in edgeai_tidl_tools setup in local PC.