I am trying to build an OpenMV firmware so I can try to use it on a Nicla Vision.
The Vision has 1MB of RAM and the model reports requiring only 206kb of RAM.
When I try do deploy the OpenMV firmware, I get the following error:
Use make V=1 or set BUILD_VERBOSE in your environment to increase build verbosity. Including User C Module from /app/openmv/src/omv/modules GEN /app/openmv/src/PORTENTA_build/micropython/genhdr/mpversion.h CC ../../extmod/moduplatform.c CC ../../shared/runtime/pyexec.c CC moduos.c CC /app/openmv/src/omv/modules/py_tf.c /opt/gcc/gcc-arm-none-eabi-10-2020-q4-major/bin/../lib/gcc/arm-none-eabi/10.2.1/../../../../arm-none-eabi/bin/ld: /app/openmv/src/PORTENTA_build/bin/firmware.elf section `.text' will not fit in region `FLASH_TEXT' /opt/gcc/gcc-arm-none-eabi-10-2020-q4-major/bin/../lib/gcc/arm-none-eabi/10.2.1/../../../../arm-none-eabi/bin/ld: region `FLASH_TEXT' overflowed by 6708 bytes collect2: error: ld returned 1 exit status make: *** [omv/ports/stm32/omv_portconfig.mk:659: firmware] Error 1 Application exited with code 2 Job failed (see above)
When I try to download the model as a OpenMV Library, it build fine but I get the following error when I try to run it:
Exception: Failed to load "trained.tflite", did you copy the .tflite and labels.txt file onto the mass-storage device? (Arena size is too small for all buffers. Needed 207376 but only 47040 was available.
Is my model simply to big? I have tried reducing the frame size down to QQVGA…