Part Number: TDA4VM
My onnx model head is as follows:

When onnx model is converted to tidl model, as follows:

After slice layer, the feature dim is wrong, . Is there any consideration when using?
The onnx file and tidl net graph is attached.
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.
Part Number: TDA4VM
My onnx model head is as follows:

When onnx model is converted to tidl model, as follows:

After slice layer, the feature dim is wrong, . Is there any consideration when using?
The onnx file and tidl net graph is attached.
Hi,
Can you share the ONNX model so I can run and try to replicate the issue?
Regards,
Anand
Hi,
The issue is being caused due to a bug in import code. The fix will be pushed as part of the next SDK release.
If you want to get the fix working before that, you can search for the following in ti_dl/utils/tidlModelImport/tidl_onnxImport.cpp and replace with the fix, and get your model working:
Search for: splitIdx = TIDL_onnxGetAttrIdx(node, "Split");
Replace with: splitIdx = TIDL_onnxGetAttrIdx(node, "split");
Search for: sliceParams.slicePoints[j+1] = node.attribute(splitIdx).ints(j);
Replace with: sliceParams.slicePoints[j+1] = sliceParams.slicePoints[j] + node.attribute(splitIdx).ints(j);
You will need to build the import tool to get this fix reflected. Run "make it" for building import tool. In case you face any dependency issue, please refer https://software-dl.ti.com/jacinto7/esd/processor-sdk-rtos-jacinto7/08_02_00_05/exports/docs/tidl_j721e_08_02_00_11/ti_dl/docs/user_guide_html/usergroup1.html
JIRA Id (this is for TI internal reference): https://jira.itg.ti.com/browse/TIDL-2385
Let me know if you face any further issue.
Regards,
Anand