Question/Issue:
Hello, new user here. This platform looks amazing. I’ve trained an audio classification model with two simple keywords “lumos” (for turn on LED) and “nox” (for turn off LED). I’m deploying to an Arduino Nano 33 BLE Sense.
These Arduinos only have 256KB of RAM. Despite being listed in the documentation and specifically including examples when deploying to “Arduino Library” target, I can’t get any useful combination of classification accuracy combined with continuous (overlapping slices) audio monitoring.
Using the “nano_ble33_sense_microphone_continuous” sketch example, I haven’t been able to set EI_CLASSIFIER_SLICES_PER_MODEL_WINDOW
above a value of 1
without running into the error:
Error sample buffer overrun. Decrease the number of slices per model window (EI_CLASSIFIER_SLICES_PER_MODEL_WINDOW)
I’ve tried reducing my window size down. It seems like a window size of ~300ms will allow a EI_CLASSIFIER_SLICES_PER_MODEL_WINDOW
value of 2, but then my classification accuracy plummets to 40%. Seems like I’d be better off using sequential samples at that point.
So my overall question is this, is it really practical to use a Arduino Nano 33 BLE Sense to do continuous audio classification with more than one slice? Seems like they might not have enough memory for this to really be useful.
Project ID:
361892
Context/Use case:
Continuous keyword audio classification on Arduino Nano 33 BLE Sense.