Continuous Motion Recognition

I followed all the steps in the following tutorial, using my phone:

Everything is well explained and the model is working. However when I do 5 up and downs the model counts 101. What do I have to adjust to make sure it only counts a full cycle. For example if I place the phone in my pocket and jump 5 times, it should count 5 up and downs not 100. Please advise.

Hi @Jmontoya, what do you mean with:

the model counts 101

The model does not count anything, it just shows the prediction per class.