Tempo detection is a challenging task. When you find the right bpm, you still need to find the right/natural multiplicity.
This repository researches various machine learning approaches on predicting tempo multiplicity given approximate bpm.
See notebooks for usage