Commit Graph

5604 Commits

Author SHA1 Message Date
Davis King
4f367471ae Added a member function to get the line intercept from running_gradient. 2016-04-01 11:38:16 -04:00
Davis King
3165ff2892 minor cleanup 2016-03-31 21:11:11 -04:00
Davis King
65f60203ab Added unit test for prelu layer. 2016-03-31 21:10:56 -04:00
Davis King
dcb5b46b5f Added prelu layer 2016-03-31 21:07:04 -04:00
Davis King
ebf7a89a7c Fixed a bug in affine_. The layer was implemented as an inplace layer,
however, that doesn't really work if we need to compute the gradients with
respect to the parameters which the layer attempted to do.  So I made the
layer's parameters non-learnable so it can continue to be inplace since the
main usecase for this layer is to be a fast replacement for bn_ during testing.
2016-03-31 20:58:34 -04:00
Davis King
bf7fdb6394 merged 2016-03-30 06:44:25 -04:00
Davis E. King
c8aa1312e4 Merge pull request #90 from e-fominov/python-object-detector-trainer-options-upsample
Python/Simple object detector trainer. Added upsample_limit option
2016-03-30 06:38:58 -04:00
Evgeniy Fominov
2e002ac2da Python/Simple object detector trainer. Added upsample_limit option 2016-03-30 10:37:03 +03:00
Davis King
9a52ea5c69 Yet more stability improvements for line_search(). 2016-03-29 10:26:55 -04:00
Davis King
a6395a762c More robustness improvements to line_search(). Mostly just parameter tweaks. 2016-03-29 09:31:40 -04:00
Davis King
e03fea5e2d merged 2016-03-28 15:43:41 -04:00
Davis King
79d99b8582 Improved line_search() behavior for functions without continuous derivatives.
Also made the bracketing phase more efficient.
2016-03-28 15:43:11 -04:00
Davis King
3b272ef2ba fixed spelling error in comment 2016-03-28 11:36:34 -04:00
Davis King
ea5f89c692 Renamed variable to make things more clear. 2016-03-27 17:22:25 -04:00
Davis King
030f5a0a76 A bit more cleanup 2016-03-27 10:50:52 -04:00
Davis King
47bdf95fbe added more stuff to example 2016-03-27 10:29:30 -04:00
Davis King
bd79b8778a Minor change to avoid compiler warning 2016-03-27 08:45:44 -04:00
Davis King
8f0bda5f82 Changed this example to be another mnist example so it runs in a non-insane
amount of time.

--HG--
rename : examples/dnn_mit67_ex.cpp => examples/dnn_mnist_resnet_ex.cpp
2016-03-26 23:16:43 -04:00
Davis King
8d3ec0f9d3 Removed cruft 2016-03-26 23:07:38 -04:00
Davis King
920cf4db54 Added ADAM tests 2016-03-26 22:58:57 -04:00
Davis King
ab605d1522 Added ADAM solver. 2016-03-26 22:58:39 -04:00
Davis King
f42b4ad205 Fixed bug in add_tag_layer that prevented it from working when placed
immediately after the input layer.
2016-03-26 22:29:21 -04:00
Davis King
5165ae1b8c Merged and also updated documentation to reflect these changes. 2016-03-26 12:21:40 -04:00
Davis E. King
14d34ec997 Merge pull request #89 from rayglover/dev
introduce a configurable threshold for rendering HOGs
2016-03-26 12:15:33 -04:00
Davis King
750aaa32b3 merged 2016-03-26 12:02:28 -04:00
ray glover
98cd2a921d introduce a configurable threshold for rendering HOGs 2016-03-26 11:49:34 +00:00
Davis King
f8786b4f3f updated docs 2016-03-25 09:08:23 -04:00
Davis King
f7974018c2 merged 2016-03-25 09:03:34 -04:00
Davis King
95cb569772 Cleaned up trainer API and made the verbose output include information about
how much the current step size has converged.
2016-03-25 09:01:48 -04:00
Davis King
c5f83cbe17 Added count_steps_without_decrease() and count_steps_without_increase(). 2016-03-25 08:32:30 -04:00
Davis King
fd4ef8ffa3 Adding clarifications to spec which were pointed out by Scott Richardson. 2016-03-20 19:28:57 -04:00
Davis King
f63720201f fixed typo in spec 2016-03-18 12:12:02 -04:00
Davis King
aaf8998e86 merged 2016-03-18 10:52:04 -04:00
Davis King
69d5aef2f1 merged 2016-03-18 10:46:47 -04:00
Davis King
09893704e9 Added apply_random_color_offset() 2016-03-18 10:45:14 -04:00
Davis King
a758fb0997 Added a constructor for seeding rand with a time_t. 2016-03-18 10:44:52 -04:00
Davis King
854d0da8a7 Improved html font sizes and made things look slightly nicer. 2016-03-15 22:20:22 -04:00
Davis King
7f611ea765 fixed typo in spec 2016-03-12 10:24:01 -05:00
Davis King
d748529a1a fixed cout and cerr in mex wrapper 2016-03-11 15:34:39 -05:00
Davis King
7e8109b76d Made cerr print in matlab as a red warning message. 2016-03-11 10:27:39 -05:00
Davis King
82a4f00a93 Renamed check_for_ctrl_c() to check_for_matlab_ctrl_c(), put everything in
call_matlab.h into dlib namespace, and also added missing overloads for
call_matlab().
2016-03-11 08:59:06 -05:00
Davis King
af27ab2fb0 merged 2016-03-08 22:47:02 -05:00
Davis King
d8d31375e8 merged 2016-03-08 22:46:09 -05:00
Davis King
bdab610c86 Updated comment 2016-03-08 15:22:40 -05:00
Davis King
67710d1161 merged 2016-03-08 15:20:06 -05:00
Davis King
ad6a56e55c merged 2016-03-08 15:19:43 -05:00
Davis King
cae72aee69 Upgraded mex wrapper to support 20 argument functions instead of just 10. 2016-03-08 15:18:48 -05:00
Davis King
deaf8f9455 Made DLIB_ASSERT and DLIB_CASSERT not kill the process when running inside a
MATLAB mex file.
2016-03-08 15:18:19 -05:00
Davis E. King
11ab923783 Merge pull request #86 from ChrisPaprocki/dev
Fixed a minor typo in the spec.
2016-03-08 15:12:54 -05:00
Chris Paprocki
8d401da7b3 Fixed a minor typo in the spec. 2016-03-08 19:42:26 +01:00