Commit Graph

6348 Commits

Author SHA1 Message Date
Davis King a8c62a8003 Minor code cleanup. 2016-10-09 23:18:12 -04:00
Davis King ac2d2a787b Improved check for old visual studio 2016-10-09 18:25:52 -04:00
Davis King 0eb92bbe41 Fixed old visual studio check 2016-10-09 18:19:51 -04: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 60b1c4403a Cleaned up release notes 2016-10-09 17:47:02 -04:00
Davis King 1eeb67dbe5 Renamed file so it matches the naming scheme of the other matlab examples.
--HG--
rename : dlib/matlab/mex_example_class.cpp => dlib/matlab/example_mex_class.cpp
2016-10-09 16:36:48 -04:00
Davis King 72a6ad8db1 Now that C++11 is required, I'm removing the C++11 annotations from things in
the documentation.  I also updated a few places throughout the docs to say that
you need a C++11 compiler.
2016-10-09 13:44:31 -04:00
Davis King af3bdb224e updated docs 2016-10-09 13:25:29 -04:00
Davis King 14f03c2fa5 Include jpg files in the docs 2016-10-09 13:15:15 -04:00
Davis King a16b8b9c11 Moved all the test_object_detection_function() specs into one file so they are
organized in the HTML documentation.
2016-10-09 10:38:03 -04:00
Davis King 79425443fe Fixed wrong README filename due to recent change. 2016-10-09 08:39:06 -04:00
Davis King 5bc81774ee Fixed readme file name 2016-10-08 15:38:06 -04:00
Davis King 2fafe2a9ea merged 2016-10-08 15:31:38 -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 1e35214de2 Added warning message about trying to use cuda from a 32 bit visual studio project. 2016-10-08 14:28:21 -04:00
Davis King d4958e8a8e Evgeniy Fominov's changes that avoid compiler bugs in Visual Studio. 2016-10-08 14:27:34 -04:00
Davis King c22b94c93f Minor change to avoid warnings from visual studio. 2016-10-08 14:26:33 -04:00
Vittorio Romeo 895ab3a9bd Rewrite README in Markdown (#277)
* Use *sections* to make the README more structured and easier to read.
* Use *code blocks* for scripts.
* Use *links* for the homepage and for the LICENSE file.
2016-10-08 12:58:59 -04:00
Davis King fee64827b7 Made the upsampling conditional on the image not being huge already. 2016-10-07 22:07:13 -04:00
elda27 766c46b5cf find_cudnn modified for cudnn installed a user directory. (#275) 2016-10-07 06:36:58 -04:00
Jan Rüegg 9635f785f4 Unreachable code, fixed compiler warning (#272)
* Unreachable code, fixed compiler warning

* Update simd4f.h
2016-10-05 11:15:31 -04:00
Jan Rüegg 1e53e779fb Unreachable code, fixed compiler warning (#271)
* Unreachable code, fixed compiler warning

* Update simd8f.h
2016-10-05 10:57:01 -04:00
Davis King fc8a335f13 Made the dnn_trainer check if the loss has been increasing before it saves the
state to disk. If it detects that the loss has been going up then instead of
saving to disk it recalls the previously good state.  This way, if we hit a
bad mini-batch during training which negatively effects the model in a
significant way, the dnn_trainer will automatically revert back to an earlier
good state.
2016-10-05 10:23:02 -04:00
Davis King 6c66d22b0d Made find_upper_quantile() more general 2016-10-03 19:55:31 -04:00
Davis King 5fe0a5f6f9 Merge branch 'miscellanea-skip_gui_examples' 2016-10-02 17:52:53 -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 56f4e19afa Added comments 2016-10-02 16:43:11 -04:00
Davis King d53d49ebb8 Larger mustache :) 2016-10-02 14:33:22 -04:00
Davis King 67c1a79820 Added test image for dog mmod example program 2016-10-02 13:37:47 -04:00
Davis King 16cedfd92e Added more mmod examples. 2016-10-02 13:00:07 -04:00
Davis King 482b3a61b1 Simplified the network definition slightly 2016-10-02 12:54:14 -04:00
Davis King 0beabe84aa Added image_dataset_file::shrink_big_images(). So now load_image_dataset() can
load a dataset of high resolution files into a user requested lower resolution.
2016-10-02 09:25:19 -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
miscellanea 2ed907aa99 Add arm files for libpng from official libpng v1.6.7 to support neon (#262) (#264)
Now dlib can be compiled for android with -DANDROID_ABI="armeabi-v7a with NEON" with https://github.com/taka-no-me/android-cmake
However, when compiling for arm64-v8a, since __ARM_NEON__ is not defined,
neon code will not be actually enabled, which requires upgrading libpng a bit more
2016-10-01 20:52:45 -04:00
Davis King e6614b5029 Made the check in dnn_trainer for convergence more robust. Previously, if we
encountered a bad mini-batch that made the loss value suddenly jump up by a
larger than normal value it could make the trainer think we converged.  Now the
test is robust to recent spikes in loss value.
2016-10-01 18:33:49 -04:00
Davis King 4d623597ab Added find_upper_quantile() and count_steps_without_decrease_robust(). 2016-10-01 18:32:01 -04:00
Davis King ea68abcc67 Changed DEFAULT_BATCH_NORM_EPS from 1e-5 to 1e-4. 2016-10-01 18:00:36 -04:00
Davis King d6874d838a Removed the last bit of code with any heritage from numerical recipes in C.
This was in some of the svd routines.  However, we already had a svd routine
that used a separate svd code that is better than the NRIC derived version.  So
that's what we use everywhere now.
2016-10-01 15:12:07 -04:00
Davis King 6f80e8108a Minor change to avoid warning from gcc 2016-10-01 13:20:16 -04:00
Davis King 05bbe4f4bb Fixed spelling error in comment 2016-09-30 23:09:03 -04:00
Davis King 4a9cccb4d4 Minor changes to avoid warnings in visual studio 2015 2016-09-30 21:06:11 -04:00
Vladimir Sinitsin 5582530bb3 Fix building on win32 with 32bit architecture (#261)
Now PYTHON_INCLUDE_DIR and PYTHON_LIBRARY setting up correctly for both 32/64 bit architectures
2016-09-29 21:56:13 -04:00
Davis King fed1e8e292 Added more comments about making python package 2016-09-29 21:32:49 -04:00
Davis King 776678a37c Fixed spelling error in comment 2016-09-29 08:57:01 -04:00
Eugene 2a0b461926 fixed warning about unsigned-signed comparison in imgtool (#258) 2016-09-28 21:15:25 -04:00
Davis King 4dd5cb78b0 Improved error message. 2016-09-28 21:14:20 -04:00
Davis King 3c212b67be Changed default background cropping rate from 0.1 to 0.5. 2016-09-28 21:13:43 -04:00
Davis King a215c4943e Added missing requires clauses and asserts. 2016-09-28 21:13:08 -04:00
Davis King d41613d7cb Added --sort-num-objects and cleaned up code slightly. 2016-09-28 21:01:49 -04:00
Davis King f61f402f1b merged 2016-09-28 09:33:18 -04:00