Commit Graph

6078 Commits

Author SHA1 Message Date
Davis King 86fa427e26 Made input_rgb_image_pyramid use multiple cores while building the pyramid. 2016-09-10 15:29:06 -04:00
Lucas Clemente Vella 6168781ab9 Adding specific parameters interface on fc_ layer (#213) 2016-09-10 14:31:01 -04:00
Davis King 48df23a0e0 Fix cmake script so they don't think visual studio 2015 supports C++11, because it doesn't. :( 2016-09-09 20:22:49 -04:00
Gregor Fabritius e22be5fdd5 Fixed detection of C++11 features (#224)
Detecting C++11 capabilities did not work on OSX 10.11.6, XCode 7.3.1, Apple LLVM 7.3.0, cmake 3.6.1. First check revealed that CMAKE_CXX_KNOWN_FEATURES was empty, so subsequent matches failed. After reading http://public.kitware.com/pipermail/cmake/2014-November/059182.html changed handling to fetch property instead of relying on variable. Works on my machine.
2016-09-09 06:48:29 -04:00
Davis King f81359f160 Added --min-object-size option to imglab. 2016-09-07 21:12:01 -04:00
Davis King 8061c31acf Added a warning message to remind users to enable C++11 support. 2016-09-06 11:41:50 -04:00
Davis King a6dd7d82f2 Removed compile statements for older versions of visual studio 2016-09-06 08:15:56 -04:00
Davis King a9e30fd66a Added compiler error messages indicating that newer versions of dlib no longer work with
older versions of Visual Studio.  This is because C++11 support is too bad in older versions
of Visual Studio.
2016-09-06 08:13:55 -04:00
Davis King a906f398c7 updated ignore list 2016-09-06 07:14:44 -04:00
Davis King 192b75a7f7 Added a check for non-finite values to the trust region solver. 2016-09-06 07:03:30 -04:00
Davis King 4a408d5e07 Fixed example 2016-09-05 15:40:54 -04:00
Davis King d5dc371ff8 Added random_cropper and DNN MMOD example programs. 2016-09-05 15:39:31 -04:00
Davis King 9e42f86cd3 Adjusted face boxes so they are a little bit more accurately placed. 2016-09-05 15:38:44 -04:00
Davis King 87efe17225 Added a call to set_all_bn_running_stats_window_sizes() to set this value to
what it was when this example was trained (since I just modified the default
value in dlib to something else).
2016-09-05 15:00:52 -04:00
Davis King 38ca3c32ad Added a method to set the random_cropper's random seed. 2016-09-05 14:55:53 -04:00
Davis King 8c7f36ce0c Gave the random_cropper the option to randomly include background patches. 2016-09-05 14:48:17 -04:00
Davis King d03bdb78eb Added overload of member function set_chip_dims() and also cleaned up a few minor details. 2016-09-05 10:15:52 -04:00
Davis King 7029c66c65 Added another load_image_dataset() overload for string filenames 2016-09-05 10:15:22 -04:00
Davis King 6cd2042dd0 Renamed loss_binary_mmod_ to loss_mmod_ 2016-09-05 09:54:31 -04:00
Davis King d54597230b Added a version of test_object_detection_function() for the DNN based MMOD detector. 2016-09-05 09:37:30 -04:00
Davis King 9e290dce34 Added an overload of upsample_image_dataset() for mmod_rect annotated datasets. 2016-09-05 09:18:57 -04:00
Davis King 70619d2fd6 Made input_layer() work in a more reasonable and general way. 2016-09-05 09:16:44 -04:00
Davis King a105c616d0 Made cropper not output boxes smaller than it's supposed to. Also cleaned up
code a little.
2016-09-04 22:01:12 -04:00
Davis King 1c940a5bcb Added random_cropper 2016-09-04 19:10:15 -04:00
Davis King 61dce40e35 Added set_all_bn_running_stats_window_sizes() and also changed the default
batch normalization running stats window size from 1000 to 100.
2016-09-04 17:41:27 -04:00
Davis King a280e48c0b Added an overload of load_image_dataset() that outputs directly to mmod_rect
instead of rectangle.
2016-09-04 14:52:29 -04:00
Davis King eae0c2faa4 Moved some code around, added documentation for the mmod loss layer and its
attendant objects.  Also fixed a minor bug in the loss layer.
2016-09-04 14:48:36 -04:00
Davis King f165b20300 Added missing assert 2016-09-04 14:01:32 -04:00
Davis King 1842d866ed Changed imglab --resample so that it never changes the aspect ratio of an
image.
2016-09-04 12:01:49 -04:00
Davis King 70363686ea Fixed error in pyramid_rate() formula. 2016-09-04 11:55:30 -04:00
Davis King c324a65e3b Added get_double_in_range() to dlib::rand. 2016-09-04 09:41:38 -04:00
Davis King 1970bf29b0 Added MMOD loss layer 2016-09-03 09:20:47 -04:00
Davis King 8a707f177e Added input_rgb_image_pyramid 2016-09-03 09:02:53 -04:00
Davis King 09200e8dfe more clarification 2016-09-03 08:39:58 -04:00
Davis King 1d44caa07a clarified spec 2016-09-03 08:37:48 -04:00
Davis King ae3cb6b792 Made load_image_dataset() more generic. Now it can operate on arrays of images
that use std::vector in addition to dlib::array.
2016-09-03 08:05:30 -04:00
Davis King bb7d2ef558 Added input_tensor_to_output_tensor() and output_tensor_to_input_tensor() along
with the mapping functions necessary at each layer to support these routines.
2016-09-03 07:52:55 -04:00
Davis King d7c003d190 Added visit_layers_backwards(), visit_layers_backwards_range(), and
visit_layers_range().
2016-09-03 07:14:07 -04:00
jpblackburn 9726ce1cac Add dnn_trainer::train_one_step iterator signature (#212)
Add an overload of dnn_trainer::train_one_step that takes a pair of
iterators rather than a std::vector.
2016-08-31 22:13:39 -04:00
Davis King 5e770e848e Changed pinv() so it interprets its tol argument relative to the largest
singular value of the input matrix rather than as an absolute tolerance.
2016-08-31 11:34:04 -04:00
Davis King b271d5c80f workaround bugs in visual studio 2016-08-30 22:10:19 -04:00
Davis King 758068da7e made the build script compile in newer versions of visual studio before older ones. 2016-08-30 21:46:26 -04:00
Davis King 91150823eb Simplified example to show only the C++11 version of the code. 2016-08-30 14:58:38 -04:00
Davis King 4ee1f6644d Made thread_pool and parallel_for propagate exceptions from task threads to
calling code.
2016-08-30 14:44:46 -04:00
Davis King 5b36194513 Added overloads of the parallel for functions that use default_thread_pool() 2016-08-30 10:15:33 -04:00
Davis King 3de7ddf18a Added some comments 2016-08-29 23:34:02 -04:00
Davis King 61455d58ba Added a clone() method to the mex class interface. 2016-08-29 23:31:57 -04:00
Davis King 7f697b420f Fixed a problem where output matrices don't get assigned anything when they
are empty, leading to MATLAB complaining about output arguments to being
assigned.
2016-08-29 14:15:24 -04:00
Davis King 24b037d569 Fixed tabbing 2016-08-29 10:56:32 -04:00
Davis King 032a8bf66a merged 2016-08-29 09:47:42 -04:00