diff --git a/openbr/plugins/representation/random.cpp b/openbr/plugins/representation/random.cpp index 640a6ae..4d1ae74 100644 --- a/openbr/plugins/representation/random.cpp +++ b/openbr/plugins/representation/random.cpp @@ -31,6 +31,10 @@ class RandomRepresentation : public Representation representation->train(images, labels); const int nFeatures = representation->numFeatures(); + + if (Globals->verbose) + qDebug() << "Randomly sampling from" << nFeatures << "features."; + features = Common::RandSample(count,nFeatures,0,true); }