seqlearn icon indicating copy to clipboard operation
seqlearn copied to clipboard

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

Open Giase opened this issue 8 years ago • 1 comments

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?

Giase avatar Jun 06 '16 16:06 Giase

Is this issue fixed.?

harry-2016 avatar Jan 30 '19 13:01 harry-2016