Yocto imx8m tensorflow-lite

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Yocto imx8m tensorflow-lite

3,786件の閲覧回数
arno_0
Contributor III

I would like to build C++ code and use tensorflow as a library. What do I have to ad to the Yocto image recipe to have header and required libs in SDK? 

For the rootfs it seems

that IMAGE_INSTALL += " \
            tensorflow-lite \

does the job to have the examples in it (no lib, no headers).

But how about the SDK? I need headers and libs.  The idea was about:

SDKIMAGE_FEATURES_append = " \
staticdev-pkgs \
tensorflow-lite-dev \
tensorflow-lite-staticdev \
"

But I can't compile label_image (just as an example) because of undefined references. What do I miss?

Also a bit strange. Building the libtensorflow-lite.a out of Yocto results in 250MB lib, but building it external as described here (Build TensorFlow Lite for ARM64 boards ) results in a just 8MB lib ?

Any help welcome!

ラベル(3)
0 件の賞賛
返信
1 返信

3,726件の閲覧回数
jamesbone
NXP TechSupport
NXP TechSupport

Hello,

I recommend you to follow the Getting Started, that we create for the eIQ,  which it is our software based on Tensor Flow, to add Machine Learning to our i.MX8 Devices.  Here is the link:

https://community.nxp.com/community/eiq/blog/2019/07/01/getting-started-with-eiq-software-for-imx-ap... 

0 件の賞賛
返信