Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
Giase opened this issue Jun 6, 2016 · 1 comment
Open

Comments

@Giase
Copy link

Giase commented Jun 6, 2016

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
Copy link

Is this issue fixed.?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants