NUMCLUSTERS must be a positive integer not greater than the number of data

4 次查看(过去 30 天)
I am using the vl_feat module to call sift and gmm model for my data of 600 images. But I got the error for numCluster when I run GMM model. I set numClusters to 32,64, and 128 and kd to 16 and 32 and I got the error. If anyone know how to fix problem, please help me. Thanks and appreciate a lot.

采纳的回答

Walter Roberson
Walter Roberson 2022-3-19
After that dimension reduction, you are left with an array that has kd = 16 columns. For vl_gmm, each column is an independent sample, so that means that you are passing in only 16 different samples. But you are asking to divide those 16 different samples into 64 clusters.
  3 个评论

请先登录,再进行评论。

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Dimensionality Reduction and Feature Extraction 的更多信息

产品


版本

R2021b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by