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 Model Zoo tensor parsing information

Part Number: TDA4VM

Tool/software:

Hello,

I am using the following network distributed by TI within its model ZOO: od-8220_onnxrt_coco_edgeai-mmdet_yolox_s_lite_640x640_20220221_model_onnx.

I was able to execute the inference and succesfully parse the results but it is not clear to me where I can find the information about parsing the output tensor.

As an example looking to the onnx file distributed with the zip package I can see that we have one 1x3x640x640 input tensor and two output tensors: one dets matrix of float32 and one label array of int64. Nevertheless I have discovered that I needed to parse all the output tensors as float32 to get meaningful results.

Moreover I needed to do reverse engineer about the column order of the dets matrix to understand which one was the score and which ones were the coordinates of the bounding box.

The question is if I am missing some documentation or the proper way to understand how to properly parse the input and output tensors both in terms of data type and data content. Can you help me on that?

Thanks