Commit Graph

6145 Commits

Author SHA1 Message Date
Davis King 28a5512b64 Added --rmlabel and --rm-if-overlaps. Also changed the behavior of --split so that
it simply partitions the data and is an invertible operation.
2016-09-26 20:50:54 -04:00
Davis King 104008b81c Clarified documentation 2016-09-25 09:54:16 -04:00
Ehsan Azar 35b3e65b37 first check large number in elsif (#239) 2016-09-21 19:36:24 -04:00
Evgeniy Fominov aff1d5bd00 Fixed warning about winsock2.h in windows build (#236) 2016-09-21 07:19:13 -04:00
Davis King 4eb8448721 Made thread_pool's destructor call abort() rather than rethrow any exception to
avoid compiler warnings.
2016-09-21 07:01:54 -04:00
Davis King a2c152e8f1 Made --cluster skip empty images 2016-09-18 11:54:12 -04:00
Davis King b040e65414 Improved CLI for --resample 2016-09-18 09:37:23 -04:00
Davis King 5940c7169c Fixed a bug in --cluster where it would output xml files with empty entries
if the input xml file contained unannotated images.
2016-09-18 09:09:39 -04:00
Davis King 863fa38439 Fixed getting cli warning message when gui closed. 2016-09-17 15:19:52 -04:00
Davis King 55c4ba531e Made imglab's --resample not skip objects near the edge of the image. 2016-09-17 09:12:33 -04:00
Davis King f761ad5885 Added message about -h 2016-09-16 19:45:06 -04:00
Davis King 809c9fb203 Made the background crops output by the random_cropper a little more expansive. 2016-09-16 06:47:49 -04:00
Davis King 59d7df9ab4 Added --rmempty to imglab 2016-09-16 06:46:35 -04:00
Gregor Fabritius 114d156dae Fixed cudnn_hint_path detection for OSX where CUDA_CUBLAS_LIBRARIES is a list, not a single string. (#230) 2016-09-12 20:04:48 -04:00
Davis King 29467871b0 Made this script more robust 2016-09-12 20:00:37 -04:00
Davis King c7051ef606 Added an error message that prints to STDERR when you accidentally
let an exception sit in a thread pool and don't handle it before the
thread pool is destroyed.
2016-09-11 08:54:26 -04:00
Davis King 2cca4ae7f4 Made the dnn_trainer propagate exceptions that happen during training (in its
training thread) out of the object into the calling code rather than
terminating the application.
2016-09-10 17:33:32 -04:00
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