opencv_contrib icon indicating copy to clipboard operation
opencv_contrib copied to clipboard

Knn / CvKNearest crash when classifying a huge dataset

Open opencv-pushbot opened this issue 9 years ago • 0 comments

Transferred from http://code.opencv.org/issues/3348

|| Josiah Bloecher on 2013-10-25 15:33
|| Priority: Normal
|| Affected: 2.4.6 (latest release)
|| Category: ml
|| Tracker: Bug
|| Difficulty: 
|| PR: 
|| Platform: x64 / Windows

Knn / CvKNearest crash when classifying a huge dataset

CvKNearest crashes when calling "CvKNearest::find_nearest()" when classifying a huge dataset.

Settings:
max_k = 15
Training Data Matrix : 20.000 rows * 4 cols(float)
Classification Data Matrix : 55959552 rows * 4 cols (float)

Error occurs in "CvKNearest::write_results()".
Text file with call stack is attached..

History

Dmitry Retinskiy on 2013-10-28 13:47
Hi Josiah,

thanks for submitting the issue.
Could you also attach a code snippet and the data set you have used to reproduce the problem?

-   Difficulty deleted (Hard)
-   Priority changed from High to Normal
-   Assignee deleted (Maria Dimashova)
-   Status changed from New to Incomplete

opencv-pushbot avatar Jul 27 '15 10:07 opencv-pushbot