fixed CvCascadeBoost::train

pull/13383/head
Maria Dimashova 14 years ago
parent 1f3f4599cc
commit 44e05308d9
  1. 2
      modules/traincascade/boost.cpp

@ -1016,6 +1016,8 @@ bool CvCascadeBoost::train( const CvFeatureEvaluator* _featureEvaluator,
cvSeqPush( weak, &tree );
update_weights( tree );
trim_weights();
if( cvCountNonZero(subsample_mask) == 0 )
break;
}
while( !isErrDesired() && (weak->total < params.weak_count) );

Loading…
Cancel
Save