You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Running ESP-IDF 4.x + Arduino-ESP32 2.x and trying the hello-world example, the output is wrong. It seems the interpreter loads the model but then interpreter->input(0); and interpreter->output(0); returns vectors that have an extremely high zero-point and a scale of either 0 or -nan. This ofc makes the quantized x & y values wrong, too. Specifically, the output y is always 0.
Quantized x: -1 input zero point 1073421472 scale -nan
Quantized y: -48 output zero point 1073421456 scale 0.000000
x_value: 0.000000, y_value: -0.000000
Quantized x: -1 input zero point 1073421472 scale -nan
Quantized y: -48 output zero point 1073421456 scale 0.000000
x_value: 0.314159, y_value: -0.000000
I am having the same issue when testing out the provided hello word example. I am also using PlatformIO with espidf framework (no arduino). I am wondering if this is an issue with the tflite micro interpreter or the model itself?
Running ESP-IDF 4.x + Arduino-ESP32 2.x and trying the hello-world example, the output is wrong. It seems the interpreter loads the model but then
interpreter->input(0);
andinterpreter->output(0);
returns vectors that have an extremely high zero-point and a scale of either 0 or-nan
. This ofc makes the quantized x & y values wrong, too. Specifically, the outputy
is always 0.This is running on a regular ESP32 dev board with no PSRAM. Example projects see https://github.com/maxgerhardt/pio-esp32-tfmicro-example, it uses PlatformIO for compilation. Any help is appreciated.
The text was updated successfully, but these errors were encountered: