Tensorflow example not working on nRF Connect SDK

I have tried tensorflow example on nRF Connect SDK v1.6.1, v1.7.0 and v1.7.1 but all of them are not working.

To reproduce the behavior, build any example under zephyr\sample\modules\tensorflow

Here is the error from output console:

1> Compiling ‘model.cc’
2> Compiling ‘output_handler.cc’
4> ../src/main_functions.cc:19:10: fatal error: tensorflow/lite/micro/all_ops_resolver.h: No such file or directory
4> compilation terminated.
2> In file included from ../src/output_handler.cc:17:
2> ../src/output_handler.h:20:10: fatal error: tensorflow/lite/c/common.h: No such file or directory
2> compilation terminated.
Build failed

Parents Reply Children
  • Sorry. I am not familiar with Edge Impulse.

    I misunderstand because the Edge Impulse example KConfig does not include tensorflow lite library. And it can be successfully build and run. So I assume they have their own implementation of ML framework.

    Even EON compiler is more optimized than tensorflow lite, I do not think it is reasonable to disable tensorflow. At least, developer has an option to use it or not, right?

    Thank you for your patience.

Related