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.

TDA4AL-Q1: [TIDL]input binary file format for model calibration with multiple input?

Part Number: TDA4AL-Q1


Tool/software:

Dear Champs,

My customer is doing model calibration with multiple input on TDA4AL TIDL and asking about input binary file format.

Their model has 3 tensors as below.

Input Dimension: (C, H, W)

      input 1 : (1,128,128)

      input 2 : (1, 1, 2)

      input 3 : (1, 1, 24)

 Data Type:

  • rawDataInElementType
    • input 1: 6 (float)
    • input 2: 6 (float)
    • input 3: 6 (float)

 

  • inElementType
    • input 1: 2 (16bit Unsigned)
    • input 2: 2 (16bit Unsigned)
    • input 3: 3 (16bit Signed)

They are using below setting for input data.

* inFileFormat = 1

* inData = /workspace/model_calibration_inputs.bin

* numFrames = 100

In this case, what data format they should use for binary input file(model_calibration_inputs.bin)?

Can they use below 2 types of data format? Could you please guide which of below will be preferred to be used?

1. Interleave type : 3 tensor inputs per each frame will be saved sequencely?

2. sequence type : all 1st tensor data saved and then all 2nd tensor data, all 3rd tensor data?

Thanks and Best Regards,

SI.