You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Log densities of the observations should be valid, non-inf, and non-nan floating-point numbers.
Actual behaviour
If np.sum(observations, axis=1) is greater than 1, the log of a negative number is attempted to be calculated in line 629 of beats_hmm.py, causing a nan to be stored in log_densities. This behavior causes the viterbi algorithm to potentially fail.
The observations (including the observations for non-beat states) have to be a probability density function in order to work with DBNDownBeatTrackingProcessor. Thus your observations are not suitable for DBNDownBeatTrackingProcessor. I will update the documentation to be more clear about that.
Expected behaviour
Log densities of the observations should be valid, non-inf, and non-nan floating-point numbers.
Actual behaviour
If
np.sum(observations, axis=1)
is greater than 1, the log of a negative number is attempted to be calculated in line 629 ofbeats_hmm.py
, causing anan
to be stored inlog_densities
. This behavior causes the viterbi algorithm to potentially fail.Steps needed to reproduce the behaviour
Information about installed software
madmom version: '0.16.1'
numpy version: '1.19.5'
scipy version: '1.7.2'
The text was updated successfully, but these errors were encountered: