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: [TIDL] import onnx model to tidl model error

Part Number: TDA4VM

Hi,

I am trying to convert our onnx model to tidl model (opset=11, psdk=9.1.0.6), but i am facing an error.

I've already converted the other network (onnx opset 11 and psdk 9.1), but I cannot convert the only this network due to the following error. Same error even if I use the same network as opset version 9.

----------------------------

ONNX Model (Proto) File : /VG/network/sd/onnx_11_ptq/SDNet.onnx
TIDL Network File : /VG/network/sd/onnx_11/outputs/tidl_net_SDNet.bin
TIDL IO Info File : /VG/network/sd/onnx_11/outputs/tidl_net_SDNet_io_
Current ONNX OpSet Version : 11
tidl_model_import.out: tidl_import_common.cpp:202: void* my_malloc(int): Assertion `ptr != NULL' failed.

Aborted (core dumped)

---------------------------

Additionally, when converting to psdk 8.6 using this network, the tidl conversion was well without error.

The problem only occurs in psdk 9.1.

If anyone has a similar experience, please let me know!

  • Hi Team,

    Apologies for delay in getting back due to limited bandwidth.

    I have assigned this thread to our analytics expert, please expect reply from her.

    Thanks for your patience.

  • Hi Team,

    Could you please throw some light on below listed points ?

    1) Which flow are you using for model compilation (TIDL-RT or OSRT)

    2) As i see model import failed on 9.1 sdk, can you share completer error logs as text file ? with debug_level 2 in case of osrt Or debugTraceLevel 2 in case of TIDL-RT to look into

    3) Please revert with model file, if TIDL-RT flow used then import config, raw input files etc If using OSRT then compilation flags 

    Thanks