From 50de3da992680a8e8e3a08f4c95b4943d7516d49 Mon Sep 17 00:00:00 2001 From: Davis King Date: Thu, 2 Nov 2017 05:43:15 -0400 Subject: [PATCH] Updated comments to reflect recent API changes. --- examples/dnn_mmod_dog_hipsterizer.cpp | 6 +++--- examples/dnn_mmod_face_detection_ex.cpp | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/examples/dnn_mmod_dog_hipsterizer.cpp b/examples/dnn_mmod_dog_hipsterizer.cpp index 048ababaa..22829d338 100644 --- a/examples/dnn_mmod_dog_hipsterizer.cpp +++ b/examples/dnn_mmod_dog_hipsterizer.cpp @@ -24,16 +24,16 @@ Additionally, the following training parameters were different during training: The following lines in dnn_mmod_ex.cpp were changed from - mmod_options options(face_boxes_train, 40*40); + mmod_options options(face_boxes_train, 40,40); trainer.set_iterations_without_progress_threshold(300); to the following when training the model used in this example: - mmod_options options(face_boxes_train, 80*80); + mmod_options options(face_boxes_train, 80,80); trainer.set_iterations_without_progress_threshold(8000); Also, the random_cropper was left at its default settings, So we didn't call these functions: cropper.set_chip_dims(200, 200); - cropper.set_min_object_height(0.2); + cropper.set_min_object_size(40,40); The training data used to create the model is also available at http://dlib.net/files/data/CU_dogs_fully_labeled.tar.gz diff --git a/examples/dnn_mmod_face_detection_ex.cpp b/examples/dnn_mmod_face_detection_ex.cpp index 5c05c91a0..3cdf4fcc7 100644 --- a/examples/dnn_mmod_face_detection_ex.cpp +++ b/examples/dnn_mmod_face_detection_ex.cpp @@ -26,16 +26,16 @@ Additionally, the following training parameters were different during training: The following lines in dnn_mmod_ex.cpp were changed from - mmod_options options(face_boxes_train, 40*40); + mmod_options options(face_boxes_train, 40,40); trainer.set_iterations_without_progress_threshold(300); to the following when training the model used in this example: - mmod_options options(face_boxes_train, 80*80); + mmod_options options(face_boxes_train, 80,80); trainer.set_iterations_without_progress_threshold(8000); Also, the random_cropper was left at its default settings, So we didn't call these functions: cropper.set_chip_dims(200, 200); - cropper.set_min_object_height(0.2); + cropper.set_min_object_size(40,40); The training data used to create the model is also available at http://dlib.net/files/data/dlib_face_detection_dataset-2016-09-30.tar.gz