OS error with OpenMV cam H7

Hi,
I have an OpenMV cam H7 (non plus) and I am trying to deploy a model trained with Edge Impulse. I have tried different models and got a model
small enough that can fit in the device. I have used a small image input (48x48) and a mobilenet V2 0.1.
I copied the tensorflow lite and labels files to the SD card and run the python code, but I always get OS error and no other info:

Traceback (most recent call last):
File “”, line 21, in
OSError:
MicroPython: v1.15-r57 OpenMV: v4.1.1 HAL: v1.9.0 BOARD: OPENMV4-STM32H743
Type “help()” for more information.

is there a way to get more debug/error info?

I am happy to upload the model/code if it helps.

thanks and regards,
Matteo

Hi @mvitswd this could be a tricky one for two reasons:

  1. We don’t officially support the non plus version (our documentation calls for the plus version)
  2. The transfer learning models that we support work best with 96x96 images

I have a digits recognition model that I’ve downscaled to 48x48 MobileNetV2 0.1 and tested it on the Portenta H7 with Vision Shield, and real live performance is poor compared to the 96x96 MobileNetV2 0.35 version of the model which works really well. So, I’m concerned that even if you’re able to get it working on the H7 (non-plus) version that you’ll still not be happy with the end result.

I don’t have an H7 (non plus version) to test it with but I can ask around around to see if others from our team have experience with this issue.

Hi @yodaimpulse,
regarding asking to other members of your team, that would be great!

Thanks,
Matteo

Hi @mvitswd we were in touch with the OpenMV folks and they requested that you re-post this on their forums so they could take a closer look. Please post on: https://forums.openmv.io/
Thanks!

Hi @yodaimpulse,
thanks, will do!

Thanks,
Matteo

Hi @mvitswd thanks for posting on their forum, I’ve alerted the OpenMV folks regarding the post.

1 Like