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.

RTOS: TDA2 Host Emulation Build for Source Package Build error

Other Parts Discussed in Thread: TDA2

Tool/software: TI-RTOS

Hello,

I follow "Ti Deep learning Library User Guide April 2018" to build source in host emulation.

in path:C:\PROCESSOR_SDK_VISION_03_01_00_00\ti_components\algorithms\REL.TIDL.00.08.00.00\modules\ti_dl

step1

"E:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\vcvarsall.bat"

step2

gmake CORE=eve TARGET_BUILD=debug TARGET_PLAT=PC all

then, I got error

C:\PROCESSOR_SDK_VISION_03_01_00_00\ti_components\algorithms\REL.TIDL.00.08.00.0
0\modules\ti_dl>gmake CORE=eve TARGET_BUILD=debug TARGET_PLAT=PC all
.
======== tidl ALGO =================
gmake -C ./algo -f makefile
gmake[1]: Entering directory `C:/PROCESSOR_SDK_VISION_03_01_00_00/ti_components/
algorithms/REL.TIDL.00.08.00.00/modules/ti_dl/algo'
/PROCESSOR_SDK_VISION_03_01_00_00/ti_components/algorithms/REL.TIDL.00.08.00.00/
makerules/rules.mk:383: *** multiple target patterns. Stop.
gmake[1]: Leaving directory `C:/PROCESSOR_SDK_VISION_03_01_00_00/ti_components/a
lgorithms/REL.TIDL.00.08.00.00/modules/ti_dl/algo'
gmake: *** [all] Error 2

rules.mk:383: dir: $(OBJDIRS)

How could I solve the error ?

Thanks,

Ting

  • Hello,

    More question

    Q1:Is "Ti Deep learning Library User Guide " for TDA2 RTOS or Linux ?

    Q2:Is Vision_SDK tidl for TDA2 RTOS or Linux ?

    Q3:Is tidl for RTOS and Linux ? I just build for getting net.bin and param.bin, and files for two systems to use ?

    Thanks,

    Ting

  • Hi Ting,

    There is latest TIDL release available, please download it from VSDK from http://www.ti.com/tool/PROCESSOR-SDK-TDAX

    Regarding build source in host emulation, for this you need access to source release of TIDL which is not part of VSDK. You may have to contact your local TI FAE to get access to it.

    You do not need source release of TIDL to import your models and get net.bin and param.bin files, for this refer to section "3.6 Running a Model trained by user" in the "TI Deep learning Library User Guide". 

    This Vision_SDK tidl is for TDA2 RTOS only.

    Thanks,

    Praveen

  • Hi Praveen

    Thanks for your reply.

    I think I don't ask clearly, so I follow your reply and confirm that.

    Downloading the Vision_SDK, I can get the "usecases\tidl_OD" and "REL.TIDL.01.01.03.00", then first is for RTOS to recognize object and the other is for generate net.bin and param.bin

    Q1:"Is C:\PROCESSOR_SDK_VISION_03_06_00_00\vision_sdk\apps\src\rtos\usecases\tidl_OD" for RTOS ?

    Q2:"Is "C:\PROCESSOR_SDK_VISION_03_06_00_00\ti_components\algorithms\REL.TIDL.01.01.03.00\modules\ti_dl"  not build source release of TIDL?

    is it for Linux or RTOS ? We think it is just for generate net.bin and param.bin, we don't care about it is for linux or RTOS, right ?

    Q3:If we want to build linux for TDA2 and run tidl, do you have some advices or documents, or I should create a new issue for this question ?

    Thank,

    Ting

  • Q1:"Is C:\PROCESSOR_SDK_VISION_03_06_00_00\vision_sdk\apps\src\rtos\usecases\tidl_OD" for RTOS ?

    Answer : Yes

    Q2:"Is "C:\PROCESSOR_SDK_VISION_03_06_00_00\ti_components\algorithms\REL.TIDL.01.01.03.00\modules\ti_dl"  not build source release of TIDL?

    Answer : Yes 

    is it for Linux or RTOS ? We think it is just for generate net.bin and param.bin, we don't care about it is for linux or RTOS, right ?

    Answer : Yes 

    Q3:If we want to build linux for TDA2 and run tidl, do you have some advices or documents, or I should create a new issue for this question ?

    Answer : You can refer to this thread https://e2e.ti.com/support/processors/f/791/t/777773

    Thanks,

    Praveen

  • Hi Praveen

    Thanks for your reply.

    Q1:About answer of Q3, Is it for rebuild DL model, like ".caffemodel", and convert to tidl for RTOS or Linux ?

    Q2:About answer of Q3, Is it for linux(make), I think it could also run from windows(gmake) ? is it anything different ?

    Q3:in RTOS, we can run "usecases/tidl/" to demo result of ObjectDetection, is any project for linux to demo result on TDA2 ?

    Thank,

    Ting

  • Hi Ting,

    Regarding the answer of Q3, those steps are to build only import tool in the Linux.

    We do not have any references to run demo in Linux.

    Thanks,

    Praveen 

  • Hi Praveen

    Thanks for your reply.


    Thank,

    Ting