Footsteps recognition on Arduino Nano 33 BLE

175 Views Asked by At

I'm trying to build an intrusion detection device by training a model using footsteps sounds.
I'm trying to do it using TensorFlow.
The problem is that this example does not work at all: I've tried to create a custom word called "footsteps", created a directory in the right place with wavs files in it (with the same format of the example's wavs) and, even if the script finishes running, it does not produce an output file (it prints a path where the output file should be, but the directory does not exists) nor a confusion matrix (it gets printed as 'None') and it says that the validation accuracy is 0%.

I've tried to change approach, starting from the micro_speech example of the TensorFlow lite library.
Even here, I've used this file to produce a new feature vector. It works fine, but it fails to recognize the footsteps 99% of the times (obviously, since I've "trained" the "model" with just one wav file).

Is there a way to train that example with more files, or a simpler way to do what I need that I somehow missed?
Thanks in advance.

0

There are 0 best solutions below