Info
La pregunta está cerrada. Vuélvala a abrir para editarla o responderla.
Error using pdist2mex Error in kmeans>distfun
    2 visualizaciones (últimos 30 días)
  
       Mostrar comentarios más antiguos
    
Hi, To represent our data (3233477*256) with Bag of visual word (BOW) which use KMeans clustering to extract visual words when we choose K=5000 this problem show:
   Error using pdist2mex
    Requested 3233477x5000 (120.5GB) array exceeds maximum array size preference. Creation of arrays greater than this limit may take a
    long time and cause MATLAB to become unresponsive. See array size limit or preference panel for more information.
    Error in kmeans>distfun (line 747)
            D = pdist2mex(X,C,'sqe',[],[],[]);
    Error in kmeans/loopBody (line 445)
            D = distfun(X, C, distance, 0, rep, reps);
    Error in internal.stats.parallel.smartForReduce (line 136)
                reduce = loopbody(iter, S);
    Error in kmeans (line 335)
    ClusterBest = internal.stats.parallel.smartForReduce(...
    Error in BOWHistogram (line 12)
    [idx,c,sumd,D2] = kmeans(double(Tab_Feature_Data),NumClust);
What can I do to fix the error? Please advise me
0 comentarios
Respuestas (0)
La pregunta está cerrada.
Ver también
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!