Closed Alice-Shen closed 4 years ago
Did you find the solution? I also suffer from the same problem
Yes,I have solved the problem.
stats = clus.iteration_stats losses = np.array([ stats.at(i).obj for i in range(stats.size()) ])
relace the 'losses = faiss.vector_to_array(clus.obj)'
clus = faiss.Clustering(d, nmb_clusters) clus.train(x, index) losses = faiss.vector_to_array(clus.obj)
I don't know why it's wrong,would you help me?