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.

AM62A7: TIDL Model Import Tool

Part Number: AM62A7

Tool/software:

Hello TI Dev,

I have browsed through this thread regarding tidl_model_import.out (https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1424508/processor-sdk-j722s-tidl-model-import-tool-can-t-transfer/5494937?tisearch=e2e-sitesearch&keymatch=tidl%2520model%2520import%2520cpp#5494937). Currently, I am using the tflite model.

When I tried to do it, I just got a critical error as shown below. When I tried to look for this tidl_import_main.cpp in the edgeai tidl tool folder, it cannot be located. Could you please let me know this solution?

[TIDL Import]  ERROR: Couldn't open inputNetFile file:  -- [tidl_import_main.cpp, 442]. 

I have another question regarding TIDL inference. I am currently designed a custom model where I focus on signal processing task. Is there a way to evaluate it on CCS? There is an example which can evaluate on CCS on C2000.

Regards,
Key

  • Hi Key,

    I generally would not recommend using tidl_model_import.out -- this is a low-level tool for compiling that does not have great user-level debugging / feedback. We have limited documentation on this, with the last public release being in the 8.5 TIDL user guide [0]. The same settings still apply. The open-source runtime tools (TFLite) for python are the recommended interface. 

    When I tried to do it, I just got a critical error as shown below. When I tried to look for this tidl_import_main.cpp in the edgeai tidl tool folder, it cannot be located. Could you please let me know this solution?

    This file is not part of a open-source software release. It can be found within the PSDK RTOS for TDA4x devices and the firmware builder for AM62A. 

    [TIDL Import]  ERROR: Couldn't open inputNetFile file:  -- [tidl_import_main.cpp, 442]. 

    This often means the path to this file does not exist or the file is somehow corrupted. This should be set to the path for your .TFLITE model

    I have another question regarding TIDL inference. I am currently designed a custom model where I focus on signal processing task. Is there a way to evaluate it on CCS? There is an example which can evaluate on CCS on C2000.

    No, CCS is not part of the model development flow for TIDL on AM62A. You can use gdb or similar linux-level debug tools on the Arm-side cores to see part of the call-stack, but cannot view the C7x TIDL firmware -- this is considered a black-box accelerator.  

    [0] https://software-dl.ti.com/jacinto7/esd/processor-sdk-rtos-jacinto7/06_01_01_12/exports/docs/tidl_j7_01_00_01_00/ti_dl/docs/user_guide_html/md_tidl_model_import.html 

    BR,
    Reese