1 | initial version |
@berak so there is something i just noticed if according to your code
Mat labels = new Mat(numImages, numClasses, CV_32F, Scalar.all(0)); Mat labels = new Mat( 45, 5 , CV_32F, Scalar.all(0)); <-- this means that
the output of the labels will be something like that
[1, 0, 0, 0, 0; 1, 0, 0, 0, 0; 1, 0, 0, 0, 0; 1, 0, 0, 0, 0; 1, 0, 0, 0, 0; 0, 1, 0, 0, 0; 0, 1, 0, 0, 0; 0, 1, 0, 0, 0; 0, 1, 0, 0, 0; 0, 1, 0, 0, 0; 0, 0, 1, 0, 0; 0, 0, 1, 0, 0; 0, 0, 1, 0, 0; 0, 0, 1, 0, 0; 0, 0, 1, 0, 0; 0, 0, 0, 1, 0; 0, 0, 0, 1, 0; 0, 0, 0, 1, 0; 0, 0, 0, 1, 0; 0, 0, 0, 1, 0; 0, 0, 0, 0, 1; 0, 0, 0, 0, 1; 0, 0, 0, 0, 1; 0, 0, 0, 0, 1; 0, 0, 0, 0, 1; 0, 0, 0, 0, 0; <<--- it wont assign the anymore 0, 0, 0, 0, 0; 0, 0, 0, 0, 0; 0, 0, 0, 0, 0; 0, 0, 0, 0, 0; 0, 0, 0, 0, 0; 0, 0, 0, 0, 0; 0, 0, 0, 0, 0; 0, 0, 0, 0, 0; 0, 0, 0, 0, 0; 0, 0, 0, 0, 0; 0, 0, 0, 0, 0; 0, 0, 0, 0, 0; 0, 0, 0, 0, 0; 0, 0, 0, 0, 0; 0, 0, 0, 0, 0; 0, 0, 0, 0, 0; 0, 0, 0, 0, 0; 0, 0, 0, 0, 0; 0, 0, 0, 0, 0]
2 | No.2 Revision |
@berak so there is something i just noticed if according to your code
Mat labels = new Mat(numImages, numClasses, CV_32F, Scalar.all(0)); Mat labels = new Mat( 45, 5 , CV_32F, Scalar.all(0)); <-- this means that
the output of the labels will be something like that
[1, 0, 0, 0, 0;
1, 0, 0, 0, 0;
1, 0, 0, 0, 0;
1, 0, 0, 0, 0;
1, 0, 0, 0, 0;
0, 1, 0, 0, 0;
0, 1, 0, 0, 0;
0, 1, 0, 0, 0;
0, 1, 0, 0, 0;
0, 1, 0, 0, 0;
0, 0, 1, 0, 0;
0, 0, 1, 0, 0;
0, 0, 1, 0, 0;
0, 0, 1, 0, 0;
0, 0, 1, 0, 0;
0, 0, 0, 1, 0;
0, 0, 0, 1, 0;
0, 0, 0, 1, 0;
0, 0, 0, 1, 0;
0, 0, 0, 1, 0;
0, 0, 0, 0, 1;
0, 0, 0, 0, 1;
0, 0, 0, 0, 1;
0, 0, 0, 0, 1;
0, 0, 0, 0, 1;
0, 0, 0, 0, 0; <<--- it wont assign the anymore
0, 0, 0, 0, 0;
0, 0, 0, 0, 0;
0, 0, 0, 0, 0;
0, 0, 0, 0, 0;
0, 0, 0, 0, 0;
0, 0, 0, 0, 0;
0, 0, 0, 0, 0;
0, 0, 0, 0, 0;
0, 0, 0, 0, 0;
0, 0, 0, 0, 0;
0, 0, 0, 0, 0;
0, 0, 0, 0, 0;
0, 0, 0, 0, 0;
0, 0, 0, 0, 0;
0, 0, 0, 0, 0;
0, 0, 0, 0, 0;
0, 0, 0, 0, 0;
0, 0, 0, 0, 0;
0, 0, 0, 0, 3 | No.3 Revision |
@berak so there is something i just noticed if according to your code
Mat labels = new Mat(numImages, numClasses, CV_32F, Scalar.all(0)); Mat labels = new Mat( 45, 5 , CV_32F, Scalar.all(0)); <-- this means that
the output of the labels will be something like that
[1, 0, 0, 0, 0;
1, 0, 0, 0, 0;
1, 0, 0, 0, 0;
1, 0, 0, 0, 0;
1, 0, 0, 0, 0;
0, 1, 0, 0, 0;
0, 1, 0, 0, 0;
0, 1, 0, 0, 0;
0, 1, 0, 0, 0;
0, 1, 0, 0, 0;
0, 0, 1, 0, 0;
0, 0, 1, 0, 0;
0, 0, 1, 0, 0;
0, 0, 1, 0, 0;
0, 0, 1, 0, 0;
0, 0, 0, 1, 0;
0, 0, 0, 1, 0;
0, 0, 0, 1, 0;
0, 0, 0, 1, 0;
0, 0, 0, 1, 0;
0, 0, 0, 0, 1;
0, 0, 0, 0, 1;
0, 0, 0, 0, 1;
0, 0, 0, 0, 1;
0, 0, 0, 0, 1;
0, 0, 0, 0, 0; <<--- it wont assign the anymore
0, 0, 0, 0, 0;
0, 0, 0, 0, 0;
0, 0, 0, 0, 0;
0, 0, 0, 0, 0;
0, 0, 0, 0, 0;
0, 0, 0, 0, 0;
0, 0, 0, 0, 0;
0, 0, 0, 0, 0;
0, 0, 0, 0, 0;
0, 0, 0, 0, 0;
0, 0, 0, 0, 0;
0, 0, 0, 0, 0;
0, 0, 0, 0, 0;
0, 0, 0, 0, 0;
0, 0, 0, 0, 0;
0, 0, 0, 0, 0;
0, 0, 0, 0, 0;
0, 0, 0, 0, 0;
0, 0, 0, 0, 0]