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: Compiling Custom ONNX model with Multiple inputs and multiple outputs

Part Number: TDA4VM

Tool/software:

Hi,

I am trying to compile my custom model in Tidl_model_import with custom onnx model,where my model requires 2 inputs 

Config list:

while compiling this getting the error

Am I missing any parameters that need to be set when the input layer consists of more than one input? Could you provide an example configuration file for a model with multiple inputs? Additionally, what is the maximum number of inputs and outputs that can be configured?

SDk used:08_04_00_16
Best regards,
Sandhiya.R
  • Hi Sandhiya,

    TIDL is geared toward image processing and only allows for a single input.  You should be able to preprocess your data into a single input and use the single TIDL input.  Another option is to run multiple models concurrently with a single input each.

    Regards,

    Chris

  • Hi Chris,

    Thank you for the solution you provided. I can preprocess the current inputs Y and UV into a single input. However, if my custom model requires multiple pyramid inputs and other parameters as input , is there a possibility to provide multiple inputs to the model?

    I have also went through your sample examples where multiple inputs are provided.

    Could you please share the link to the sample model and proto.txt file for reference?Looking forward to your response.