필터 지우기
필터 지우기

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
Walter Roberson
Walter Roberson 2022년 3월 19일
My guess would be that you should be passing the transpose of x into vl_gmm

댓글을 달려면 로그인하십시오.

추가 답변 (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