Commit Graph

101 Commits

Author SHA1 Message Date
Davis King
c9faacce29 Fixed typos 2017-12-25 08:50:34 -05:00
Davis King
22f26ebe97 Improved visual studio compilation instructions 2017-12-16 23:17:37 -05:00
Davis King
46a1893534 Fixed spelling error in comment 2017-12-11 06:40:00 -05:00
Davis King
15c04ab224 This example still uses a lot of visual studio ram. 2017-12-01 00:26:31 -05:00
Davis King
2b3d8609e5 These examples compile now in visual studio due to the recent pragma directive added to core.h. 2017-11-30 22:38:29 -05:00
Juha Reunanen
e48125c2a2 Add semantic segmentation example (#943)
* Add example of semantic segmentation using the PASCAL VOC2012 dataset

* Add note about Debug Information Format when using MSVC

* Make the upsampling layers residual as well

* Fix declaration order

* Use a wider net

* trainer.set_iterations_without_progress_threshold(5000); // (was 20000)

* Add residual_up

* Process entire directories of images (just easier to use)

* Simplify network structure so that builds finish even on Visual Studio (faster, or at all)

* Remove the training example from CMakeLists, because it's too much for the 32-bit MSVC++ compiler to handle

* Remove the probably-now-unnecessary set_dnn_prefer_smallest_algorithms call

* Review fix: remove the batch normalization layer from right before the loss

* Review fix: point out that only the Visual C++ compiler has problems.
Also expand the instructions how to run MSBuild.exe to circumvent the problems.

* Review fix: use dlib::match_endings

* Review fix: use dlib::join_rows. Also add some comments, and instructions where to download the pre-trained net from.

* Review fix: make formatting comply with dlib style conventions.

* Review fix: output training parameters.

* Review fix: remove #ifndef __INTELLISENSE__

* Review fix: use std::string instead of char*

* Review fix: update interpolation_abstract.h to say that extract_image_chips can now take the interpolation method as a parameter

* Fix whitespace formatting

* Add more comments

* Fix finding image files for inference

* Resize inference test output to the size of the input; add clarifying remarks

* Resize net output even in calculate_accuracy

* After all crop the net output instead of resizing it by interpolation

* For clarity, add an empty line in the console output
2017-11-15 07:01:52 -05:00
Davis King
978da26ed0 Fixed grammar in comment 2017-11-05 07:37:29 -05:00
Davis King
525bf0e15b Fixed weird wording. 2017-10-17 19:20:29 -04:00
Davis King
3aa9991892 Made comment more clear. 2017-10-17 19:18:57 -04:00
Davis King
3b2d73db68 Some cmake script cleanup and refactoring. 2017-10-16 20:55:28 -04:00
Davis King
d39b843de0 Added another car finding example 2017-09-16 15:35:58 -04:00
Davis King
51eae2ba07 Added two vehicle detection examples. 2017-08-26 17:13:47 -04:00
cclough
5fa4533b9a Update CMakeLists.txt (#566) 2017-04-30 20:48:51 -04:00
Davis King
df5a087b03 Made it more obvious that this file is a cmake tutorial. Also added a few more comments about how to use cmake. 2017-03-24 09:15:43 -04:00
Davis King
67db08f5a6 Made example cmake use dlib::dlib link name. Also made the installed
cmake config for dlib enable C++11.
2017-02-28 04:43:32 -05:00
Alain Vaucher
b41455fd26 Change minimum CMake version that supports the introduced features 2017-02-27 18:23:28 +01:00
Davis King
e4402cf575 Don't build face recognition example if GUI support isn't enabled. 2017-02-18 15:33:09 -05:00
Davis King
11016884ed Avoid crashing visual studio 2017-02-12 13:28:42 -05:00
Davis King
fe1a15f32a Added face recognition example 2017-02-11 14:52:47 -05:00
Davis King
bf36a846de Changed build order to see if it prevents travis from crashing. 2016-12-18 23:35:25 -05:00
Davis King
4d121e7e08 Added another metric learning example 2016-12-17 14:29:29 -05:00
Davis King
cb198afc3f Added metric learning example 2016-12-17 10:56:27 -05:00
Davis King
2787edc9bd Improved error messages about non-C++11 compilers and made the example cmake
file a little clearer on this issue.
2016-10-09 18:13:21 -04:00
Davis King
f5da9fe2b0 Changed cmake so it compiles most of the DNN examples when using visual studio. 2016-10-08 15:28:58 -04:00
Davis King
b5c43a6efd Merge branch 'skip_gui_examples' of git://github.com/miscellanea/dlib into miscellanea-skip_gui_examples
Conflicts:
	examples/CMakeLists.txt
2016-10-02 17:52:39 -04:00
Davis King
16cedfd92e Added more mmod examples. 2016-10-02 13:00:07 -04:00
Xi Deng
ea20f5e2ca skip examples which need GUI when DLIB_NO_GUI_SUPPORT is defined 2016-10-01 18:49:57 -07:00
Davis King
d5dc371ff8 Added random_cropper and DNN MMOD example programs. 2016-09-05 15:39:31 -04:00
Davis King
a76b642a4e renamed examples
--HG--
rename : examples/dnn_mnist_advanced_ex.cpp => examples/dnn_introduction2_ex.cpp
rename : examples/dnn_mnist_ex.cpp => examples/dnn_introduction_ex.cpp
2016-06-25 09:34:53 -04:00
Davis King
541ce716b9 Added the program that made the resnet model. 2016-06-25 09:26:51 -04:00
Davis King
1123eaa134 Changed the message that cmake displays when opencv isn't found so users don't get confused. 2016-06-24 01:28:52 -04:00
Davis King
f453b03f39 Added an example showing how to classify imagenet images. 2016-06-22 22:26:48 -04:00
Fm
28c4a48281 Grouping layer added 2016-05-17 13:07:04 +03:00
Davis King
423cd85594 renamed a file
--HG--
rename : examples/dnn_mnist_resnet_ex.cpp => examples/dnn_mnist_advanced_ex.cpp
2016-04-11 22:57:11 -04:00
Davis King
8f0bda5f82 Changed this example to be another mnist example so it runs in a non-insane
amount of time.

--HG--
rename : examples/dnn_mit67_ex.cpp => examples/dnn_mnist_resnet_ex.cpp
2016-03-26 23:16:43 -04:00
Davis King
d1b307a8ee Added some dnn examples. 2016-02-06 22:39:43 -05:00
Davis King
52f3e558a4 Added initial version of model predictive control example program. 2015-05-30 19:04:50 -04:00
Davis King
76230b9971 Added an example program for the new perspective_window object. 2015-03-22 19:22:07 -04:00
Davis King
35aba916d3 Added an example for the correlation_tracker 2015-02-03 14:01:37 -05:00
Davis King
4d223d4d54 Made example's CMakeLists.txt file a little more tutorial like. 2015-01-31 09:43:57 -05:00
Davis King
a9c5c98d56 Added sqlite example. Needs comments 2015-01-27 23:40:53 -05:00
Davis King
f3da116159 Added an example for svm_c_trainer. 2014-12-09 18:13:45 -05:00
Davis King
ad99a6668e Added an example program for the new hough_transform object. 2014-12-09 17:40:19 -05:00
Davis King
f00c7e0f42 Added max cost assignment example program 2014-12-07 12:11:13 -05:00
Davis King
664ea355f4 Another minor cmake change to avoid warnings 2014-12-06 08:34:19 -05:00
Davis King
ae826a408f Increased min required cmake version to avoid warnings
from OpenCV cmake scripts.
2014-11-15 12:10:31 -05:00
Davis King
dac39d2b95 Added an example showing how to use OpenCV's frame grabber
for face pose estimation.
2014-11-15 11:39:26 -05:00
Davis King
b191400a00 Added initial version of shape training example 2014-08-21 22:42:48 -04:00
Davis King
5ae170c461 Added a face landmarking example program 2014-08-21 22:11:55 -04:00
Davis King
d763696f68 Added an example program showing how to setup a logger hook 2014-04-26 17:32:06 -04:00