STMicroelectronics / meta-st-x-linux-ai

OpenEmbedded meta layer to install AI frameworks and tools for the STM32MPU series
Other
47 stars 17 forks source link

Including PyCoral and LibCoral modules in the X-LINUX-AI OpenSTLinux Expansion Package #6

Closed ramkumarkoppu closed 2 years ago

ramkumarkoppu commented 3 years ago

Hi, To use features such as on-device transfer learning using Google Coral TPU, we would like to have Google's Pycoral and libcoral modules in the X-LINUX-AI OpenSTLinux Expansion Package. Using standard TF lite library provided with X-LINUX-AI OpenSTLinux Expansion Package would not support these advanced features atleast with currently it stands. Can you please distribute these lbraries in this package for STM32MP1 devices? We thought of building these libraries from source but it relies on bazel build system and we don't know how to use it with ST's OpenSTLinux.

vinceab commented 3 years ago

@ramkumarkoppu,

The support of Pycoral and libcoral is planned but as of today, I cannot provide any release date. The way pycoral and libcoral can be build using Open Embedded is the same way I did for libedgetpu build: https://github.com/STMicroelectronics/meta-st-stm32mpu-ai/tree/master/recipes-frameworks/libedgetpu

A specific make file need to be added to the libcoral ou pycoral in order to create the Openembedded recipe. It is a handmade translation from bazel to Makefile.

Vincent

vinceab commented 2 years ago

Issue close since no update since June 14 2021