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.

PROCESSOR-SDK-J722S: [TIDL] Convert custom onnx model to TIDL format fail

Part Number: PROCESSOR-SDK-J722S

Tool/software:

Hi team:

TIDL version : 10.00.08.00

SDK LINUX image: 10.00.00.08

I use the example code: ~/edgeai-tidl-tools/examples/jupyter_notebooks/custom-model-onnx.ipynb to convert my onnx file to TIDL format,

But I get the two error below:

1. Pad / Transpose / Split node non-support, but I check the support list, Pad / Transpose / Split is supported. 

And I also check above node meet the conditions.

https://github.com/TexasInstruments/edgeai-tidl-tools/blob/10_00_08_00/docs/supported_ops_rts_versions.md

2.I get the error 

Traceback (most recent call last):
  File "/home/airdsw/ken/root/edgeai-tidl-tools-10_00_08_00/examples/jupyter_notebooks/tidl_model_convert_onnx.py", line 88, in <module>
    output = list(sess.run(None, {input_details[0].name : preprocess(calib_images[num])}))[0]
  File "/usr/local/lib/python3.10/dist-packages/onnxruntime/capi/onnxruntime_inference_collection.py", line 200, in run
    return self._sess.run(output_names, input_feed, run_options)
onnxruntime.capi.onnxruntime_pybind11_state.RuntimeException: [ONNXRuntimeError] : 6 : RUNTIME_EXCEPTION : Non-zero status code returned while running ReorderInput node. Name:'ReorderInput' Status Message: /root/onnxruntime/onnxruntime/contrib_ops/cpu/nchwc_ops.cc:17 virtual onnxruntime::common::Status onnxruntime::contrib::ReorderInput::Compute(onnxruntime::OpKernelContext*) const X_rank == 4 was false. 

in 

for num in tqdm.trange(len(calib_images)):
    output = list(sess.run(None, {input_details[0].name : preprocess(calib_images[num])}))[0]

but I check the shape between input_details[0] and preprocess(calib_images[num])}))[0] are the same (1,3,384,640)

Please help me to check about symptom,

Thanks for your kindly help.