Commit Graph

6109 Commits

Author SHA1 Message Date
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
Davis King 55a74bbaac merged 2016-09-28 09:30:48 -04:00
Davis King 8b5e278f88 Made cmake automatically increase clang's template depth limit so the dnn
imagenet examples compile.
2016-09-28 09:30:17 -04:00
Davis King 0614700358 Fixed --cluster not working with relative paths. 2016-09-28 09:28:40 -04:00
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