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: Param.file generation error using tidl repo

Part Number: TDA4VM


I have compiled my custom model yolov5s6 model with tidl repo, I could see most of the artifacts file has been generated but while creating param file I got this error.

------------------ Network Compiler Traces -----------------------------
successful Memory allocation
INFORMATION: [TIDL_ResizeLayer] Resize_107 Any resize ratio which is power of 2 and greater than 4 will be placed by combination of 4x4 resize layer and 2x2 resize layer. For example a 8x8 resize will be replaced by 4x4 resize followed by 2x2 resize.
INFORMATION: [TIDL_ResizeLayer] Resize_123 Any resize ratio which is power of 2 and greater than 4 will be placed by combination of 4x4 resize layer and 2x2 resize layer. For example a 8x8 resize will be replaced by 4x4 resize followed by 2x2 resize.
INFORMATION: [TIDL_ResizeLayer] Resize_139 Any resize ratio which is power of 2 and greater than 4 will be placed by combination of 4x4 resize layer and 2x2 resize layer. For example a 8x8 resize will be replaced by 4x4 resize followed by 2x2 resize.
****************************************************
**          3 WARNINGS          0 ERRORS          **
****************************************************
In TIDL_runtimesPostProcessNet 4
Process Process-1:
Traceback (most recent call last):
  File "/usr/lib/python3.10/multiprocessing/process.py", line 314, in _bootstrap
    self.run()
  File "/usr/lib/python3.10/multiprocessing/process.py", line 108, in run
    self._target(*self._args, **self._kwargs)
  File "/home/mugundan/edgeai-tidl-tools/examples/osrt_python/ort/onnxrt_ep.py", line 245, in run_model
    gen_param_yaml(delegate_options['artifacts_folder'], config, int(height), int(width))
  File "/home/mugundan/edgeai-tidl-tools/examples/osrt_python/common_utils.py", line 143, in gen_param_yaml
    dict_file[0]['postprocess']['detection_thr'] = 0.3
KeyError: 'postprocess'
************ in TIDL_subgraphRtDelete ************ 
 TIDL_deactivate is called with handle : 9b7e2000 
PREEMPTION: Removing priroty object with handle = 0x7fe59b7e2000 and targetPriority = 2,      Number of obejcts left are = 0, removed object with base  = 0x7fe59c22f000 and size =128
MEM: Deinit ... !!!
MEM: Alloc's: 26 alloc's of 336192635 bytes 
MEM: Free's : 26 free's  of 336192635 bytes 
MEM: Open's : 0 allocs  of 0 bytes 
MEM: Deinit ... Done !!!