We have built 5 models using TensorFlow version 2.14.0 and converted them to .tflite. They are to be deployed on hardware Texas Instruments CP1352P7 ARM Cortex M4F multiprotocol.
We are using the tflite-micro library hosted in the git repository to build the executable and include dependencies. However, while trying to do so with the following command:
make - f tensorflow/lite/micro/tools/make/Makefile generate_projects
However, we are getting the following error :
tensorflow/lite/micro/tools/make/downloads/flatbuffers already exists, skipping the download.
tensorflow/lite/micro/tools/make/downloads/kissfft already exists, skipping the download.
tensorflow/lite/micro/tools/make/downloads/pigweed already exists, skipping the download.
make: *** No rule to make target ‘generate_projects’. Stop.
This indicates the generate_projects rule does not exist in the Makefile. On checking manually, we cant find the rule in the Makefile either. tflite-micro does not seem to have any versioning to indicate whether and by what has this rule changed i.e. is there another name for this in later versions?
Another question I have is that, though I see in the Makefile that it seems to be able to figure out the host architecture i.e. TI CC1352P7…but Im wondering if this happens in the hardware itself i.e. if I am running this in the command line on my computer - how does it know I will be installing this in the CC1352P7 hardware. Im sure there must be some parameters related to this. I have no background in hardware and/or C++. Purely a Data Scientist using Python. My assumption is that it should be neccessary while giving the make command to also specify target and architecture (as mentioned in the Makefile comments itself that this is possible).
Any help will be highly appreciated.