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

--------------------------------------------------------------------------- IndexError Traceback (most recent call last) <ipython-input-5-e3566b658d46> in <module> 41 # disable only the cluster number 2 42 masked_image = np.copy(image) ---> 43 masked_image[labels == 2] = [0, 0, 0] 44 45 # show the image IndexError: boolean index did not match indexed array along dimension 0; dimension is 469 but corresponding boolean dimension is 381297 #2

Closed
Sesib opened this issue Dec 10, 2019 · 3 comments

Comments

@Sesib
Copy link

Sesib commented Dec 10, 2019

No description provided.

@x4nth055
Copy link
Owner

Hello, can you specify in which tutorial and line this occurred ?

@Sesib
Copy link
Author

Sesib commented Dec 15, 2019

Below line is causes the issue
masked_image[labels == 2] = [0, 0, 0]

@x4nth055
Copy link
Owner

In which tutorial this error occurred?

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