Commit Graph

6434 Commits

Author SHA1 Message Date
Davis E. King 7fade56957 Merge pull request #342 from dunkpa/mkl_fft
Add MKL DFTI FFT bindings.
2016-11-28 19:31:34 -05:00
Duncan Palmer 81afba6306 Ensure MKL detection doesn't depend on MKL header files being present.
Apparently, MKL installations don't always include header files. So
detect MKL libraries and headers seperately.
2016-11-28 16:07:14 +10:00
Davis King 3074898705 updated docs 2016-11-27 13:28:18 -05:00
Davis King 845adbd1d7 clarified spec 2016-11-27 13:24:16 -05:00
Davis King 68fb08b16d Added segment_number_line(). 2016-11-27 13:20:10 -05:00
Davis King 93f3a09f40 Added append() to random_cropper. 2016-11-26 15:48:00 -05:00
Davis King 8dece3ff88 Made the random translation amount user settable. 2016-11-26 08:26:59 -05:00
Davis King 3fca40f189 Changed to avoid gcc warnings 2016-11-26 08:17:24 -05:00
Davis King 91ed00851a merged 2016-11-26 07:38:42 -05:00
Davis E. King f9e9202461 Merge pull request #344 from dennisfrancis/mseloss
feature_addition : Added a mean squared loss layer to DNN with test case
2016-11-26 07:34:42 -05:00
Dennis Francis d4da6c53b6 adapt to dlib indentation style 2016-11-26 09:07:36 +05:30
Dennis Francis af76e82633 converted tabs to spaces in the indentation 2016-11-25 22:15:39 +05:30
Davis King d584ae9eb1 Clarified spec 2016-11-25 07:46:52 -05:00
Duncan Palmer 7f775b6a2d Seperate MKL FFT and MKL BLAS configurations.
MKL FFT bindings had assumed that MKL was also being used to provide the
BLAS implementation, however the build system allows these 2 things to
be configured independantly.
2016-11-23 22:11:22 -08:00
Dennis Francis cd4b62b494 feature_addition : Added a mean squared loss layer to DNN
Added mean squared loss layer "loss_mean_squared" to
DNN as requested in https://github.com/davisking/dlib/issues/152
Also added test case of a simple linear regression with one variable
that uses this layer.
2016-11-23 14:44:33 +05:30
Davis King 233f98125b Fixed compile time error in random_subset_selector::swap() 2016-11-22 12:59:24 -05:00
Duncan Palmer 67144941cc Add MKL DFTI FFT bindings. 2016-11-21 20:48:03 -08:00
Davis E. King 2c8b48648b Merge pull request #338 from stefan-it/misleading-indentation-pragma
unicode: Disable misleading-indentation warnings with GCC pragma
2016-11-19 18:53:18 -05:00
Stefan Schweter e9e4dabe75 Disable misleading-indentation warning in unicode.h (pragma for GCC >= 6) 2016-11-19 22:28:03 +01:00
Davis King cac8f31e7a merged 2016-11-19 15:38:32 -05:00
Davis King 526276354a Made the dnn_trainer's detection and backtracking from situations with
increasing loss more robust.  Now it will never get into a situation where it
backtracks over and over.  Instead, it will only backtrack a few times in a row
before just letting SGD run unimpeded.
2016-11-19 15:37:51 -05:00
Davis King d7e4b88d99 Made tt::add() more general 2016-11-18 13:47:50 -05:00
Davis King a6c331cef3 Suppress bogus warnings from nvcc about unreachable code that is actually
reachable.
2016-11-18 12:40:01 -05:00
Davis King 4103be8b5a Added min_pointwise() and max_pointwise(). 2016-11-18 10:42:03 -05:00
Davis King 30c629624e Made non-const alias tensors convertible to const alias tensors. 2016-11-17 12:10:54 -05:00
Davis King b19e139dea Added missing #include 2016-11-15 06:56:00 -05:00
Davis King 2a25216fbd merged 2016-11-15 06:42:10 -05:00
Davis E. King f16991d323 Remove initializer lists support for Apple/Clang (libstdc++ version used does not include std::initializer_list) (#334) 2016-11-14 16:57:17 -05:00
Davis King 539993f359 Avoid division by zero in running_scalar_covariance_decayed. 2016-11-14 15:47:04 -05:00
caseymcc 06a552ee89 Remove initializer lists support for Apple/Clang (libstdc++ version used does not include std::initializer_list) 2016-11-14 13:52:45 -06:00
Davis King 7c63185739 Added running_scalar_covariance_decayd 2016-11-14 11:06:56 -05:00
Avi Haiat 23785d5342 Expose python binding for running multiple detectors at once (#328)
* Expose python binding for running multiple detectors at once

* Remove unwanted typedef
2016-11-12 07:54:48 -05:00
MambaWong 764e9185e7 Modify to support both train-images-idx3-ubyte and train-images.idx3-ubyte styles of the filename. (#327) 2016-11-11 22:39:05 -05:00
Davis King e954a3a979 merged 2016-11-09 20:43:10 -05:00
Avi Haiat 85e2bcce02 Add option --rm-other-labels to imglab (#323)
* Add option --rm-other-labels to imglab

* Add support for comma separated list of labels
2016-11-09 20:36:52 -05:00
Davis King 8b87257103 Fixed rls numerical instability. 2016-11-09 10:30:16 -05:00
Davis King b1909d5cc0 merged 2016-11-08 14:40:52 -05:00
Davis King 28d76d011f Made rls run a bit faster, especially if the new mode that allows the
regularization to decay away is activated.
2016-11-08 14:40:19 -05:00
Davis King c8c1abb733 Fixed matlab crashing when an error message from a mex file included the %
character, since that is interpreted by matlab as part of an eventual printf()
code.
2016-11-08 11:03:40 -05:00
Davis King 08a89c80c9 Make sure the state of the assert macros is always consistent between how dlib
is built as a stand alone library and what appears in the config.h file.
2016-11-07 19:50:12 -05:00
Davis King 1fe5aa0593 Adding more possible metric loss layers. 2016-11-06 13:53:22 -05:00
Davis King 1c19a80a39 Changed the loss layer interface to use two typedefs, output_label_type and
training_label_type instead of a single label_type.  This way, the label
type used for training can be distinct from the type output by the network.
This change breaks backwards compatibility with the previous API.
2016-11-05 21:12:33 -04:00
Davis King 25ccbc4294 Added serialization support for std::array. 2016-11-05 10:52:09 -04:00
Davis King cccde6324c Changed CMake so it doesn't automatically enable asserts in debug builds since
this frustrates Visual Studio users who want to compile dlib as a static
library.
2016-11-04 20:30:03 -04:00
Davis King bf94ce6f4e merged 2016-11-04 20:16:30 -04:00
Davis King 3bb4a8e92d merged 2016-11-04 20:16:08 -04:00
Stefan Schweter 02829ef903 Explicitly use signed char in max_cost_assignment test (fix for ARM/ARM64) (#316) 2016-11-04 16:55:25 -04:00
Stefan Schweter a756183cee Made active_learning test more robust on ARM64. (#315) 2016-11-04 13:48:09 -04:00
Stefan Schweter a805051008 Update Travis CI status badge in README.md (#311) 2016-11-02 19:05:36 -04:00
Davis King c1b389bca1 Fixed compile time error. 2016-11-02 10:12:07 -04:00