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
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
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
Davis King
45dd580bf4
Wrote replacements for set_tensor() and scale_tensor() since the previous
...
versions were calling into cuDNN, however, the cuDNN functions for doing this
are horrifically slow, well over 100x slower than they should be, which is
surprising since these functions are so trivial.
2016-11-02 10:06:36 -04:00
Davis King
44d67000fc
Made test deterministic
2016-10-30 07:42:27 -04:00
caseymcc
1cfcb4d836
fix include issue when using libjpeg compiled outside of dlib ( #307 )
2016-10-28 15:15:55 -04:00
Davis King
452b188def
Fixed some race conditions in cuda code.
2016-10-27 11:29:27 -04:00
Davis King
76d5bba613
Fixed compiler warnings
2016-10-26 17:09:44 -04:00
Davis King
3586d409f9
Added tt::scale_columns(). Also optimized some other cuda kernel launches a
...
little.
2016-10-26 17:06:02 -04:00