Davis King
29047a2269
Made get_net() sync to disk if the disk date is out of date. This way, when
...
using train_one_step(), you will get the behavior of automatic disk syncs at
the end of training.
2016-12-17 13:37:01 -05:00
Davis King
cb198afc3f
Added metric learning example
2016-12-17 10:56:27 -05:00
Davis King
460b94910e
clarified spec
2016-12-17 10:45:55 -05:00
Davis King
a68b1f7fd6
Added docs and cleaned up code slightly.
2016-12-17 10:30:46 -05:00
Davis King
124e0ff401
Removed loss_metric_hardish_
2016-12-17 09:45:03 -05:00
Davis King
4219185d5f
Allow enqueueing to a pipe from rvalues.
2016-12-15 16:06:37 -05:00
Davis King
bcf98e05ed
Fixed incorrect mex file name being shown in the generated class code.
2016-12-15 09:07:04 -05:00
Davis King
b85cb68e79
Improved how cmake sets up clang and cuda. This is basically to work around
...
partial C++11 support and funny cmake behavior of clang on OS X.
2016-12-14 15:09:53 -05:00
Davis King
5ba92d9f25
Made this test try to enable C++11 via the compiler flag.
2016-12-14 15:08:45 -05:00
Davis King
51bc1dd455
Updated C++11 enabling script to work around some kind of bug in cmake related
...
to new versions of clang on OSX, without this extra statement C++11 wasn't
being enabled.
2016-12-14 09:51:03 -05:00
Davis King
0cbd17e2ee
Suppressed cmake warning
2016-12-13 09:57:07 -05:00
Davis King
f9e8bd5024
Set set(CMAKE_CXX_STANDARD_REQUIRED YES)
2016-12-13 09:36:55 -05:00
Davis King
e8fc2dc0cc
Relaxed requires clauses even more.
2016-12-10 11:20:20 -05:00
Davis King
b612dda881
Relaxed require clause
2016-12-10 11:03:07 -05:00
Davis King
55b8e5b274
Added an overload of flip_image_left_right() that operates inplace.
2016-12-10 08:36:45 -05:00
Davis King
b66cf7b2ee
Relaxed requires clause slightly
2016-12-09 21:05:18 -05:00
Davis King
65914e729f
Made dlib::array movable.
2016-12-09 19:51:58 -05:00
Davis King
44c3a982bf
Fixed missing implementation of map_input_to_output() and
...
map_output_to_input() in the concat_ layer.
2016-11-30 10:36:32 -05:00
Davis King
ca3a3aadb6
merged
2016-11-29 11:05:55 -05:00
Davis King
b6677e2a6d
Added running_stats_decayed
2016-11-29 11:05:16 -05:00
Davis King
d630a13f08
Made dlib/cmake add the appropriate folders to client include search paths.
2016-11-28 20:03:17 -05:00
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