diff --git a/docs/docs/faq.xml b/docs/docs/faq.xml index 427086234d0a0..3eb59e5e1cbe9 100644 --- a/docs/docs/faq.xml +++ b/docs/docs/faq.xml @@ -360,6 +360,90 @@ cross_validate_trainer_threaded(trainer, + + + + There are three general mistakes people make when trying to train an object detector with dlib. + + + + + + You can, but you need to use Visual Studio 2015 Update 3 or newer since prior versions @@ -369,6 +453,15 @@ cross_validate_trainer_threaded(trainer, Microsoft web page has good enough C++11 support to compile the DNN tools in dlib. So make sure you have a version no older than October 2016. +

+ However, as of this writing, the newest version of Visual Studio is Visual Studio 2017, which + has WORSE C++11 support that Visual Studio 2015. In particular, if you try to use + the DNN tooling in Visual Studio 2017 the compiler will just hang. So use Visual Studio 2015. +

+

+ It should also be noted that not even Visual Studio 2015 has perfect C++11 support. Specifically, the + larger and more complex imagenet and metric learning training examples don't compile in Visual Studio 2015. +

diff --git a/docs/docs/stylesheet.xsl b/docs/docs/stylesheet.xsl index 90f152415bbea..595f74c249caa 100644 --- a/docs/docs/stylesheet.xsl +++ b/docs/docs/stylesheet.xsl @@ -42,7 +42,7 @@ abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ - ?()<> /\&~!@#$%^*_+=-[]{} + '?()<> /\&~!@#$%^*_+=-[]{} diff --git a/python_examples/train_object_detector.py b/python_examples/train_object_detector.py index 4e86da146771b..33db0a41e3901 100755 --- a/python_examples/train_object_detector.py +++ b/python_examples/train_object_detector.py @@ -1,11 +1,11 @@ #!/usr/bin/python # The contents of this file are in the public domain. See LICENSE_FOR_EXAMPLE_PROGRAMS.txt # -# This example program shows how you can use dlib to make an object -# detector for things like faces, pedestrians, and any other semi-rigid -# object. In particular, we go though the steps to train the kind of sliding -# window object detector first published by Dalal and Triggs in 2005 in the -# paper Histograms of Oriented Gradients for Human Detection. +# This example program shows how you can use dlib to make a HOG based object +# detector for things like faces, pedestrians, and any other semi-rigid +# object. In particular, we go though the steps to train the kind of sliding +# window object detector first published by Dalal and Triggs in 2005 in the +# paper Histograms of Oriented Gradients for Human Detection. # # # COMPILING/INSTALLING THE DLIB PYTHON INTERFACE