serban / kmeans

A CUDA implementation of the k-means clustering algorithm

Home Page:http://serban.org/software/kmeans

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

does it run so fast?

HuangShiqing opened this issue · comments

I have a .txt which include 750,000 obj, every obj has 2 coords, the K is 5, i calculate the result in less than 1 second... it's so faster than what i think. Is that normal?

my GPU is 1060
Performing **** Regular Kmeans (CUDA version) ****
Input file: Image_data/anchor_boxes.txt
numObjs = 758896
numCoords = 2
numClusters = 5
threshold = 0.0010
Loop iterations = 1
I/O time = 0.3839 sec
Computation timing = 0.0988 sec