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.

2 input model import

Part Number: PROCESSOR-SDK-DRA8X-TDA4X

Tool/software: TI C/C++ Compiler

Hi:

       i   am  importing   a   cnn   ,  i   have   to  fill   tidl_import_test.txt ,   this   cnn   has  2  inputs    (in0 and  in1   from   img1.bmp  img2.bmp )

    how  can   i    configure  in  tidl_import_test.txt.  ?

Thanks!

         

  • Input layer properties of multiple inputs can be specified like below 

    Import config file

    modelType = 2
    inputNetFile = "../../test/testvecs/models/internal/onnx/tiad_motion_semantic_image_rawdof_rgb/models/pixel2pixel_model.onnx"
    outputNetFile = "../../test/testvecs/config/tidl_models/onnx/tidl_net_onnx_tiad_jmodSegNet.bin"
    outputParamsFile = "../../test/testvecs/config/tidl_models/onnx/tidl_io_onnx_tiad_jmodSegNet_"
    inElementType = 0 0
    inQuantFactor = 1.0 1.0
    inWidth = 768 768
    inHeight = 384 384
    inNumChannels = 3 3
    inData = "../../test/testvecs/config/segmentation_mod.txt"

    Refer below for listing input BMP files

    ti_dl\test\testvecs\config\segmentation_mod.txt