I have an array of size 301 x 4096, for which I want to calculate the VLAD vector.
I tried to do the quantization using
center, assignments = vlfeat.vl_kmeans(data,8)
but this returns
ValueError: too many values to unpack
If I change number of clusters from 8 to 2, it works. I've also tried other numbers, but all of them returned the same ValueError. Except, when setting it to 1, it returns
ValueError: need more than 1 value to unpack
Could it be that it has to do with the number of samples in my data?