Error encountered while a tenserflow example is made to run on openmv h7 using the openmv ide

Hey!

I use the openmv h7 module to test the built-in tenserflow examples, one of which is tf_image_classification which resulted in the error of unable to find the file when it was made to run on openmv h7 using the openmv ide.
Later, when tried adding the main.py, labels.txt and the .tflite files within the module’s memory, there wasn’t enough space for the same.

Finally, when an sd card was inserted followed by adding the main.py, labels.txt and the .tflite files within which, it resulted in the following error:

How do I resolve this?

Hi, the H7 has extremely limited memory. It generally cannot run any examples unless you load the model into flash.

EdgeImpulse has a whole toolchain that automatically handles this for you and will generate a firmware image with the Model onboard that you can use.

If you use the H7 Plus or RT1062 you can run a model from RAM off a disk.