kmeans_pytorch
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
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
You can find a simple fix here: https://github.com/subhadarship/kmeans_pytorch/issues/16