How to use TFLite Library for PSOC6 CY8CPROTO 062 4343 platform?

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
shsh_4753781
Employee
Employee
10 sign-ins 5 sign-ins First reply posted

Hi,

I am trying to use TFLite library

https://github.com/tensorflow/tflite-micro

to integrate and use ML based application on PSOC6. But since it has main.c and not cpp, it does not allow me to include the files directly. Is there a workaround? I want to use .tflite models with PSOC6 and develop an application using standard TFLite c++ library. Is the issue because of C vs C++? 

0 Likes
1 Solution
RodolfoGL
Employee
Employee
250 solutions authored 250 sign-ins 5 comments on KBA

Perhaps you can try to use MbedOS. It is setup to build with C++ and run on PSoC 6.

We do plan to support .tflite models by end of the year (or early next year). 

If you can create a Keras-H5 model, instead of .tflite, you can use our current Machine Learning solution for PSoC 6. This is ready to be deployed and its inference engine runs faster than the TFlite library inference engine.

https://www.cypress.com/products/modustoolbox/machine-learning

 

View solution in original post

1 Reply
RodolfoGL
Employee
Employee
250 solutions authored 250 sign-ins 5 comments on KBA

Perhaps you can try to use MbedOS. It is setup to build with C++ and run on PSoC 6.

We do plan to support .tflite models by end of the year (or early next year). 

If you can create a Keras-H5 model, instead of .tflite, you can use our current Machine Learning solution for PSoC 6. This is ready to be deployed and its inference engine runs faster than the TFlite library inference engine.

https://www.cypress.com/products/modustoolbox/machine-learning