From 10b4f82568941f99fb1bd6bf31e23cfbb4f9765f Mon Sep 17 00:00:00 2001 From: Davis King Date: Sat, 28 Oct 2017 12:25:32 -0400 Subject: [PATCH] Improved loss_mmod_ warning message. --- dlib/dnn/loss.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/dlib/dnn/loss.h b/dlib/dnn/loss.h index 6f62c6701..82cd2d865 100644 --- a/dlib/dnn/loss.h +++ b/dlib/dnn/loss.h @@ -1074,7 +1074,8 @@ namespace dlib } else { - std::cout << "This is because the rectangle's aspect ratio is too different from the best matching detection window, "; + std::cout << "This is either because (1) the final layer's features have too large of a stride across the image, limiting the possible locations the sliding window can search "; + std::cout << "or (2) because the rectangle's aspect ratio is too different from the best matching detection window, "; std::cout << "which has a width and height of " << options.detector_windows[det_idx].width << " and " << options.detector_windows[det_idx].height << "." << std::endl; } return true;