kmeans_pytorch icon indicating copy to clipboard operation
kmeans_pytorch copied to clipboard

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

Open kaushal-py opened this issue 4 years ago • 1 comments

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

kaushal-py avatar Oct 31 '20 03:10 kaushal-py

You can find a simple fix here: https://github.com/subhadarship/kmeans_pytorch/issues/16

ArcaneEmergence avatar Nov 10 '20 13:11 ArcaneEmergence