Change logic for upsampling printing

This commit is contained in:
Patrick Snape 2014-12-11 15:00:39 +00:00
parent dd19ce846e
commit 30869fbe03

View File

@ -203,7 +203,7 @@ namespace dlib
{
// Unsampled images # time(s) to allow detection of small boxes
std::cout << "Upsampled images " << upsample_amount;
std::cout << (upsample_amount == 1) ? " time" : " times";
std::cout << ((upsample_amount > 1) ? " times" : " time");
std::cout << " to allow detection of small boxes." << std::endl;
}
if (options.add_left_right_image_flips)