TFLite Inference Results Sometimes Adds 1 to Classification

I have a student in my vision course who is running into a problem where the tf library will output a classification result with +1 added to it. The same model apparently works fine on Arduino.


MicroPython: v1.17-omv-r22 OpenMV: v4.2.3 HAL: v1.9.0 BOARD: PORTENTA-STM32H747

The firmware in the screenshot is 4.2.1, this issue was fixed in 4.2.3

There’s also a dev-release if you’d like to try it:

Good to know, thank you!