Closed MATTYGILO closed 1 year ago
@MATTYGILO The reason is, micro_python has pre-processing stage and it doesn't include the flags set from the cmake files you mentioned here. It is this stage where the build throws an error.
I have already have a fix for this. I hope, you already have this in your code base: https://github.com/mocleiri/tensorflow-micropython-examples/commit/127ff3d183f019f5802a1e02c6f22be072b2addc
@vikramdattu Thanks so much that solved it. I am so appreciative of your help!!
https://github.com/tensorflow/tflite-micro/issues/2078
Using micropython My own custom version of https://github.com/mocleiri/tensorflow-micropython-examples
I am getting this error:
compilation terminated.
and I know it is because TF_LITE_STATIC_MEMORY seem not to be being defined but here's my cmake file:
Which has TF_LITE_STATIC_MEMORY defined here:
Why then, when I'm building does it think it is not defined?