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

Can't choose a cluster if two points are too close to each other, that's where the nan come from #15

Open
kaushal-py opened this issue Oct 31, 2020 · 1 comment

Comments

@kaushal-py
Copy link

kaushal-py commented Oct 31, 2020

Can you elaborate more on what this means? Any idea how I can fix it?

#ToDo: Can't choose a cluster if two points are too close to each other, that's where the nan come from

https://github.com/subhadarship/kmeans_pytorch/blob/master/kmeans_pytorch/__init__.py#L5

@ArcaneEmergence
Copy link

You can find a simple fix here:
#16

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