-
Notifications
You must be signed in to change notification settings - Fork 25
Open
Description
I am running through the Notebook examples and have run into an issue in Notebook 13 OE Cubes. In chunk 4 where we begin to do PCA and segmentation I run into an error. The code of block starts with importing sklearn.segmentation import slic
It seems the labels variable in that same chunk only produces a value of 196 and subsequently the lbl variable only goes up to 196.
When you run this block of code
color_labels = np.zeros((rows,cols)) for r in range(rows): for c in range(cols): color_labels[r, c] = color_index[labels[r, c]]
you get the index out of bounds error. Was wondering if anyone has run into this before.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels
