On Thu, Jan 2, 2020 at 5:16 PM Manderson <[email protected]> wrote:
>
> Hi all,
>
> I want to use the ML model import feature from the TI Processor SDK to be 
> able to use TensorFlow network models with the TIDL API available on the 
> BeagleBone AI, however, I can't find the tool in the Debian distro provided 
> by BB.
>
> I see several TIDL model examples in 
> /usr/share/ti/examples/tidl/test/testvecs/config/tidl_models but I should be 
> seeing the import tool in 
> /usr/share/ti/tidl/tidl_utils/test/testvecs/config/import
>
> Will this import utility be coming soon? Has anyone found a workaround?

The tool should be at https://git.ti.com/cgit/tidl/tidl-utils/. We've
had a bit of confusion building it. I'll escalate to the TI Sitara
Analytics team. Here's where I got just now...

(git tag 99ff282fbc440a68170736e7b5de2ff5a2984386)

$ git clone https://git.ti.com/cgit/tidl/tidl-utils/
$ cd tidl-utils/src/importTool/modules/ti_dl/utils/caffeImport
$ sudo apt install -y protobuf-compiler libprotobuf-dev
$ export LINUXENV=oearm
$ export LINUX_BUILD_TOOLS=/usr/bin/arm-linux-gnueabihf-
$ export PROTOBUF_LIB_DIR=/usr/lib
$ export PROTOBUF_INC_DIR=/usr/include
$ export FLATBUFFERS_INC_DIR=/usr/include
$ export TF_LITE_GENERATED_PATH=/usr/include
$ protoc --proto_path=. --cpp_out=. caffe.proto
$ cd ../tfImport
$ mkdir proto_cc
$ source genProtoC.sh
$ cd ../onnxImport
$ mkdir onnx_cc
$ source onnxGenProto.sh
$ cd ../tidlModelImport
$ make
compiling tidl_tfLiteImport.cpp
tidl_tfLiteImport.cpp:76:30: fatal error: schema_generated.h: No such
file or directory
 #include "schema_generated.h"

>
> Thanks
>
> --
> For more options, visit http://beagleboard.org/discuss
> ---
> You received this message because you are subscribed to the Google Groups 
> "BeagleBoard" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to [email protected].
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/beagleboard/8906b7c2-bc0e-4d2c-a239-87b1fad3e78d%40googlegroups.com.

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/CA%2BT6QPmd5-4ts0_4-1Dt7NkOYzpL77-0QnNQaBiG8x4Vc%3D0S8A%40mail.gmail.com.

Reply via email to