Hello,
I am using ESP32 for Sound Clasification. I have this error:
ERR: Failed to run classifier (-8)
It worked just fine until I inserted Blutooth Serial into the program. Maybe RAM is nos enough for both programs.
I dont know how to solve this…Please Help!
louis
January 28, 2022, 8:53am
#2
Hello @AworkingM ,
Could tell me which ESP32 board you are using?
Also I can see several projects under your account, can you tell me which one your are using for this please?
This error code mean EI_IMPULSE_ALLOC_FAILED = -8,
:
typedef enum {
EI_IMPULSE_OK = 0,
EI_IMPULSE_ERROR_SHAPES_DONT_MATCH = -1,
EI_IMPULSE_CANCELED = -2,
EI_IMPULSE_TFLITE_ERROR = -3,
EI_IMPULSE_DSP_ERROR = -5,
EI_IMPULSE_TFLITE_ARENA_ALLOC_FAILED = -6,
EI_IMPULSE_CUBEAI_ERROR = -7,
EI_IMPULSE_ALLOC_FAILED = -8,
EI_IMPULSE_ONLY_SUPPORTED_FOR_IMAGES = -9,
EI_IMPULSE_UNSUPPORTED_INFERENCING_ENGINE = -10,
EI_IMPULSE_OUT_OF_MEMORY = -11,
EI_IMPULSE_NOT_SUPPORTED_WITH_I16 = -12,
EI_IMPULSE_INPUT_TENSOR_WAS_NULL = -13,
EI_IMPULSE_OUTPUT_TENSOR_WAS_NULL = -14,
EI_IMPULSE_SCORE_TENSOR_WAS_NULL = -15,
EI_IMPULSE_LABEL_TENSOR_WAS_NULL = -16,
EI_IMPULSE_TENSORRT_INIT_FAILED = -17
} EI_IMPULSE_ERROR;
So indeed, it is a memory allocation issue.
Regards,
Louis