Minor typo corrections in shape predictor trainer. (#633)

This commit is contained in:
Grigoris 2017-06-07 11:51:19 +01:00 committed by Davis E. King
parent 362bec1099
commit 75f6658223
1 changed files with 2 additions and 2 deletions

View File

@ -400,7 +400,7 @@ namespace dlib
if (tp.num_threads_in_pool() > 1) if (tp.num_threads_in_pool() > 1)
{ {
// Here we need to calculate shape differences and store sum of differences into sums[0] // Here we need to calculate shape differences and store sum of differences into sums[0]
// to make it I am splitting of samples into blocks, each block will be processed by // to make it. I am splitting samples into blocks, each block will be processed by
// separate thread, and the sum of differences of each block is stored into separate // separate thread, and the sum of differences of each block is stored into separate
// place in block_sums // place in block_sums
@ -719,7 +719,7 @@ namespace dlib
) const ) const
{ {
const double padding = get_feature_pool_region_padding(); const double padding = get_feature_pool_region_padding();
// Figure figure out the bounds on the object shapes. We will sample uniformly // Figure out the bounds on the object shapes. We will sample uniformly
// from this box. // from this box.
matrix<float> temp = reshape(initial_shape, initial_shape.size()/2, 2); matrix<float> temp = reshape(initial_shape, initial_shape.size()/2, 2);
const double min_x = min(colm(temp,0))-padding; const double min_x = min(colm(temp,0))-padding;