This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Tensorflow Lite recommendation

Hello!

We have an application that I need to implement Tensorflow Lite.  We started with the Arduino Nano 33 BLE Sense board, which had a TFL library on it.  After using it for a while, we moved to the nRF52840-DK as it took advantage of Segger's embedded studio and debugging abilities, which appeared to be superior to Arduino's.  After working with it for a while, we've come to realize (from various forum posts) that we're going to run into an issue trying to implement TFL's C++ library with Segger/Nordic's tools.  There doesn't appear to be any support for this library outside of Arduino.  As I see it, we have a few options:

1) Get Nordic support for implementation of TFL on the nRF52840

     a) Example project/library support for TFL for SES with nRF52840-dk board (probably unlikely)

     b) Arduino/VS-Code support for nRF52840-dk to make use of existing libraries for the board with a supported IDE (which doesn't seem likely with SES)

2) Switch over to Arduino Nano 33 BLE Sense board

     a) get support to get debugging up and working on hardware using VS Code or another usable debugging interface

3) Look into another developer's hardware/IDE

What is the best path for us to get TFL support with Nordic?  Items described in #1 are the most ideal and definitely preferred.  if we have to look at #2, it means we also need to compare our options with #3 as well to see if there's a better path (not something we want to do but we have spent a lot of time trying to find a solution and haven't been able to find one thus far). 

Please let us know what you see as the best path forward for us, given our options above.  Thanks!

Parents
  • The TFL framework is built on C++, so basically you can run it anywhere if your development environment has a C++ compiler. There is another solution you didn't mention. You can use STM32 uC (C and C++ development is supported by STM Cube IDE) and there are many examples using TFL. Also, the ST-LINK debugger/programmer is based on J-Link so you can program any STM32 with Segger's Embedded Studio and a J-Link too if you wish. If you really want to use an nRF52 you will need to use the Arduino IDE and Adafruit libraries, unfortunately.

Reply
  • The TFL framework is built on C++, so basically you can run it anywhere if your development environment has a C++ compiler. There is another solution you didn't mention. You can use STM32 uC (C and C++ development is supported by STM Cube IDE) and there are many examples using TFL. Also, the ST-LINK debugger/programmer is based on J-Link so you can program any STM32 with Segger's Embedded Studio and a J-Link too if you wish. If you really want to use an nRF52 you will need to use the Arduino IDE and Adafruit libraries, unfortunately.

Children
No Data
Related