Skip to content

Conversation

@vineetamonkar
Copy link

The code could give runtime:error - divide by zero
I have proposed a fix by first finding unique color pixels and then doing a random sample while finding the initial cluster centres.
Thanks for the code though.

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

Successfully merging this pull request may close these issues.

1 participant