300W experiment with C++ data and sparse response maps.

This commit is contained in:
Tadas Baltrusaitis
2017-08-11 13:49:55 -04:00
parent bfb9129b31
commit 5588742e32
5 changed files with 92 additions and 9 deletions

View File

@@ -432,7 +432,10 @@ namespace LandmarkDetector
// Make sure the same number of images and bounding boxes is present, if any bounding boxes are defined
if (input_bounding_boxes.size() > 0)
{
assert(input_bounding_boxes.size() == input_image_files.size());
if(input_bounding_boxes.size() != input_image_files.size())
{
cout << "Warning, the input number of images does not match the input number of bounding boxes\n" << endl;
}
}
// Clear up the argument list