Audio classifier fails to run on st-b-l475e-iot01a

Project ID

Conditions

  • Latest firmware downloaded to board
  • Successful model generation

Issue
Classifier fails to run with output below

AT+RUNIMPULSEDEBUG

Inferencing settings:
	Interval: 0.06 ms.
	Frame size: 32000
	Sample length: 2000 ms.
	No. of classes: 4
Starting inferencing, press 'b' to break
Starting inferencing in 2 seconds...
Recording
Recording OK
ERR: cmvnw failed (-1002)
ERR: Failed to run DSP process (-1002)
ERR: Failed to run classifier (-5)

Hi @mcallistertad This is an out of memory error when running the model. You can up the frame length / frame stride a bit in your DSP block to make it use less memory.