larsmans / seqlearn

Sequence learning toolkit for Python
http://larsmans.github.io/seqlearn/
MIT License
690 stars 101 forks source link

ValueError: Buffer dtype mismatch, expected 'npy_intp' but got 'int' #25

Open Giase opened 8 years ago

Giase commented 8 years ago

I am using the MultinomialHMM class of seqlearn and the code crashes with error

ValueError: Buffer dtype mismatch, expected 'npy_intp' but got 'int'

at the function count_trans() inside the fit() function. I am trying to change the data type of the y array from int to numpy.npy_intp but this type does not exist in numpy (np).

How can I fix this?

harry-2016 commented 5 years ago

Is this issue fixed.?