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.

Linux/PROCESSOR-SDK-TDAX: The instruction of the VSDK

Part Number: PROCESSOR-SDK-TDAX

Tool/software: Linux

Hi, 

What the diffrence between "PROCESSOR_SDK_VISION_03_04_00_00\ti_components\algorithms\REL.TIDL.01.01.01.00\modules\ti_dl\test" and "D:\code\PROCESSOR_SDK_VISION_03_04_00_00\vision_sdk\apps\src\rtos\usecases"  .

I want to use the TIDL in TDA2X, and I want to write a test application to load my net and param and image to get inference result. And I am confused with which test I need refer to, and what API I need to call.

I have get the "dsp_test_dl_algo.out"  file, but I have not JTAG, so I do not want to use CCS, what can I do to load the out file to my board?

And I am also confued with that does the out file I need to load it to A15 ? Or other core?  I maybe copy it to the A15 by SSH, and execute it. Dose It will work?

Do I need load code to EVE core or DSP core? I think the all files in the VSDK are only used by A15, and I do not need load any files to the DSP or EVE core, is that right ?

Thanks~

  • Hi,

    You have to use code\PROCESSOR_SDK_VISION_03_04_00_00\vision_sdk\apps\src\rtos\usecases
    Please refer to the below doc
    vision_sdk\docs\FeatureSpecificUserGuides\VisionSDK_UserGuide_TI_DeepLearning.pdf

    For default files please check the below directory.
    vision_sdk\apps\tools\TIDL_files

    Regards,
    Anuj
  • Hi,

    How about other questions? I have readed over the files, but I still have these questions. So, give me some anwser please.

    1、What the diffrence and relationship between "PROCESSOR_SDK_VISION_03_04_00_00\ti_components\algorithms\REL.TIDL.01.01.01.00\modules\ti_dl\test" and "D:\code\PROCESSOR_SDK_VISION_03_04_00_00\vision_sdk\apps\src\rtos\usecases" ?

    2、I want to use the TIDL in TDA2X, and I want to write a test application to read my net mode and param file and image to get inference result. And I am confused with which test I need refer to?

    3、What API I need to call if I want to achieve the reslut mentioned above?

    4、I have get the "dsp_test_dl_algo.out" file, but I have not JTAG, so I do not want to use CCS, what can I do to load the out file to my board?

    5、And I am also confued with that does the out file I need to load it to A15 ? Or other core? I maybe copy it to the A15 by SSH, and execute it. Dose It will work?

    6、Do I need load code to EVE core or DSP core? I think the all files in the VSDK are only used by A15, and I do not need load any files to the DSP or EVE core, is that right ?
  • Hi,

    Have you gone through the below doc
    ti_components\algorithms\REL.TIDL.01.01.01.00\modules\ti_dl\docs\TIDeepLearningLibrary_UserGuide.pdf

    This doc will answer your 1st few question.

    If you are using SD boot and using VSDK then you do not need any JTAG or CCS to load the binaries, it will be loaded from the sd card.
    Please check the below doc to know about how to boot the TDA2x board
    vision_sdk\docs\UserGuides\VisionSDK_UserGuide_TDA2xx.pdf

    Regards,
    Anuj
  • Hi,
    I have gone through the doc, but I do not find the answer, could you give me some answer?

    Could you answer me 3、4、5、6 questions, please?
  • Hi,

    Please go through PROCESSOR_SDK_VISION_03_04_00_00\vision_sdk\apps\src\rtos\usecases\tidl\
    Check which all links has been used. you will find there is an Alg_tidl_1 link.
    Please check the implementation of that link inside below path
    PROCESSOR_SDK_VISION_03_04_00_00\vision_sdk\apps\src\rtos\alg_plugins\tidl\
    Check all files. You will get to know which all apis need to be called.

    For ques 4,5,6 as told earlier please use sd boot then you do not need to load anything explicitly using JTAG or CCS.

    Regards,
    Anuj
  • Hi,
    Thanks for your answer, I have understanded a little bit.

    Is it right that the apis in files which in PROCESSOR_SDK_VISION_03_04_00_00\ti_components\algorithms\ will be called by PROCESSOR_SDK_VISION_03_04_00_00\vision_sdk\apps\src\rtos\usecases\tidl\ ?
  • Hi,
    PROCESSOR_SDK_VISION_03_04_00_00\vision_sdk\apps\src\rtos\usecases\tidl\ will call PROCESSOR_SDK_VISION_03_04_00_00\vision_sdk\apps\src\rtos\alg_plugins\tidl\and it will call the apis which are inside PROCESSOR_SDK_VISION_03_04_00_00\ti_components\algorithms\

    Regards,
    Anuj
  • Hi,
    I will go into the details fo the code, Thanks very much.
  • Hi,

    Yeah, go through the code and you will get your answers.

    Regards,
    Anuj
  • Hi,

    I have import tool to import network model, and I get some .y files and a .bin file.

    1、What dose it mean that "overlay code", how can I do to overlay code?

    2、How to understand the bin file, is it the result file, but I can not understand it? 

    The accessory is the bin file for import jseg21 net.

  • Hi,

    Overlay code is a simple C code which will read this output bin file and overlays the segmentation output on top of input to visualise the segmentation ouptut.

    Please refer to below e2e thread for this overlay code..
    e2e.ti.com/.../2528452

    Thanks,
    Praveen
  • Hi,
    I found the usecase/tidl is be build to lib, and where use the lib? Where is the "main" function?
  • Hi,

    Could you please elaborate your question.

    Thanks,
    Praveen
  • Hi,
    We did not hear back on this for long time. I am closing this thread. If you are facing issues please open this thread.

    Thanks,
    Praveen