X-Git-Url: https://fleuret.org/cgi-bin/gitweb/gitweb.cgi?p=svrt.git;a=blobdiff_plain;f=vision_test.cc;h=3a445e7b70e88fd8adb0954af69bdb2def1b7a1c;hp=94591f19b3bf2d9cbaef322a26a92aeb2f2c1cac;hb=37655efbc4fa519a7305e05c651bd0959b9d77ca;hpb=194e1b60502426108c6f6c3cf2e08e95e7a2811d diff --git a/vision_test.cc b/vision_test.cc index 94591f1..3a445e7 100644 --- a/vision_test.cc +++ b/vision_test.cc @@ -1,4 +1,4 @@ -c/* +/* * svrt is the ``Synthetic Visual Reasoning Test'', an image * generator for evaluating classification performance of machine * learning systems, humans and primates. @@ -188,13 +188,11 @@ int main(int argc, char **argv) { for(int c = 1; c < new_argc; c++) { if(strcmp(new_argv[c], "randomize-train") == 0) { + cout << "Generating the training set." << endl; for(int n = 0; n < global.nb_train_samples; n++) { - if(n > 0 && n%100 == 0) cout << "*"; cout.flush(); - // cout << "n = " << n << endl; train_labels[n] = int(drand48() * 2); generator->generate(train_labels[n], &train_samples[n]); } - cout << endl; } else if(strcmp(new_argv[c], "adaboost") == 0) {