Commit Graph

6121 Commits

Author SHA1 Message Date
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
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
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