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

arrays used as indices must be of integer (or boolean) type #618

Closed
Yonhoo opened this issue Jul 30, 2020 · 5 comments
Closed

arrays used as indices must be of integer (or boolean) type #618

Yonhoo opened this issue Jul 30, 2020 · 5 comments
Labels

Comments

@Yonhoo
Copy link

Yonhoo commented Jul 30, 2020

I adjust my origin data and mask data with same data type 32-bit signed integer;but still have error :IndexError: arrays used as indices must be of integer (or boolean) type;i don't konw how to fix it ;or there have some request in data type

@Yonhoo Yonhoo changed the title [FEAT EXTRACTION] arrays used as indices must be of integer (or boolean) type Jul 30, 2020
@JoostJM
Copy link
Collaborator

JoostJM commented Jul 31, 2020

This is a duplicate issue of #592, which is fixed in #594. However, though part of the current master, it is not yet part of the official release.

@Yonhoo
Copy link
Author

Yonhoo commented Aug 1, 2020

i think it is not work when i add discretizedParameterMatrix.astype('int')

@Yonhoo Yonhoo closed this as completed Aug 2, 2020
@JoostJM
Copy link
Collaborator

JoostJM commented Aug 4, 2020

@Yonhoo, that is correct, the fix has to be applied elsewhere. Apply the changes in #594 to fix this.

@wrrogers
Copy link

I've encountered the same problem in version 3.0. Is there some kind of workaround for the time being?

@JoostJM
Copy link
Collaborator

JoostJM commented Oct 12, 2020

@wrrogers, I've just made a new release, version 3.0.1. There were some issues with CI, but I managed windows, mac and linux for python 3.6 and 3.7. Python 3.5 version currently only for linux. Is your version in there?

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

No branches or pull requests

3 participants