mirror of
https://github.com/opencv/opencv.git
synced 2024-11-25 11:40:44 +08:00
fixed #2082
This commit is contained in:
parent
8f5b15b1c3
commit
d56b771963
@ -1896,7 +1896,7 @@ void CvBoost::write_params( CvFileStorage* fs ) const
|
||||
else
|
||||
cvWriteInt( fs, "splitting_criteria", params.split_criteria );
|
||||
|
||||
cvWriteInt( fs, "ntrees", params.weak_count );
|
||||
cvWriteInt( fs, "ntrees", weak->total );
|
||||
cvWriteReal( fs, "weight_trimming_rate", params.weight_trim_rate );
|
||||
|
||||
data->write_params( fs );
|
||||
|
Loading…
Reference in New Issue
Block a user