Commit 30869fbe authored by Patrick Snape's avatar Patrick Snape

Change logic for upsampling printing

parent dd19ce84
...@@ -203,7 +203,7 @@ namespace dlib ...@@ -203,7 +203,7 @@ namespace dlib
{ {
// Unsampled images # time(s) to allow detection of small boxes // Unsampled images # time(s) to allow detection of small boxes
std::cout << "Upsampled images " << upsample_amount; 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; std::cout << " to allow detection of small boxes." << std::endl;
} }
if (options.add_left_right_image_flips) if (options.add_left_right_image_flips)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment