tensorflow-lite: install only required libs - no example, no python/valgrind/perl5

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

tensorflow-lite: install only required libs - no example, no python/valgrind/perl5

415 Views
arno_0
Contributor III

Adding the recipe tensorflow-lite to my rootfs blows it from 68 to 408MB. The biggest hits are in

/usr/lib (where python3.9, valgrind, perl5 and audit has been added)

and

/usr/bin/tensorflow... where there is an example.

What to do to minimize impact on rootfs, but keep the required libs? Can you share a recipe with reduced footprint? Looking at the recipe it is easy not to install the example, but how to aware of installing the other mentioned parts?

0 Kudos
1 Reply

403 Views
Bio_TICFSL
NXP TechSupport
NXP TechSupport

Hello arno_0,

 

If you installed the full image you don't have to add anything to its tensor flow lite since the full image already have it. The sample for tensorfow are in /usr/bin/tensorflow-lite-2.2.0/examples folder, Also check the machine learning guide fro the yocto documentation.

 

Regards

0 Kudos