Davis King
1842d866ed
Changed imglab --resample so that it never changes the aspect ratio of an
...
image.
2016-09-04 12:01:49 -04:00
Davis King
70363686ea
Fixed error in pyramid_rate() formula.
2016-09-04 11:55:30 -04:00
Davis King
c324a65e3b
Added get_double_in_range() to dlib::rand.
2016-09-04 09:41:38 -04:00
Davis King
1970bf29b0
Added MMOD loss layer
2016-09-03 09:20:47 -04:00
Davis King
8a707f177e
Added input_rgb_image_pyramid
2016-09-03 09:02:53 -04:00
Davis King
09200e8dfe
more clarification
2016-09-03 08:39:58 -04:00
Davis King
1d44caa07a
clarified spec
2016-09-03 08:37:48 -04:00
Davis King
ae3cb6b792
Made load_image_dataset() more generic. Now it can operate on arrays of images
...
that use std::vector in addition to dlib::array.
2016-09-03 08:05:30 -04:00
Davis King
bb7d2ef558
Added input_tensor_to_output_tensor() and output_tensor_to_input_tensor() along
...
with the mapping functions necessary at each layer to support these routines.
2016-09-03 07:52:55 -04:00
Davis King
d7c003d190
Added visit_layers_backwards(), visit_layers_backwards_range(), and
...
visit_layers_range().
2016-09-03 07:14:07 -04:00
jpblackburn
9726ce1cac
Add dnn_trainer::train_one_step iterator signature ( #212 )
...
Add an overload of dnn_trainer::train_one_step that takes a pair of
iterators rather than a std::vector.
2016-08-31 22:13:39 -04:00
Davis King
5e770e848e
Changed pinv() so it interprets its tol argument relative to the largest
...
singular value of the input matrix rather than as an absolute tolerance.
2016-08-31 11:34:04 -04:00
Davis King
b271d5c80f
workaround bugs in visual studio
2016-08-30 22:10:19 -04:00
Davis King
758068da7e
made the build script compile in newer versions of visual studio before older ones.
2016-08-30 21:46:26 -04:00
Davis King
91150823eb
Simplified example to show only the C++11 version of the code.
2016-08-30 14:58:38 -04:00
Davis King
4ee1f6644d
Made thread_pool and parallel_for propagate exceptions from task threads to
...
calling code.
2016-08-30 14:44:46 -04:00
Davis King
5b36194513
Added overloads of the parallel for functions that use default_thread_pool()
2016-08-30 10:15:33 -04:00
Davis King
3de7ddf18a
Added some comments
2016-08-29 23:34:02 -04:00
Davis King
61455d58ba
Added a clone() method to the mex class interface.
2016-08-29 23:31:57 -04:00
Davis King
7f697b420f
Fixed a problem where output matrices don't get assigned anything when they
...
are empty, leading to MATLAB complaining about output arguments to being
assigned.
2016-08-29 14:15:24 -04:00
Davis King
24b037d569
Fixed tabbing
2016-08-29 10:56:32 -04:00
Davis King
032a8bf66a
merged
2016-08-29 09:47:42 -04:00
Davis King
7ca1fb1634
Added support for binding classes to MATLAB.
2016-08-29 09:46:27 -04:00
Davis King
d8a23c8706
Added pyramid_rate(), create_tiled_pyramid(), image_to_tiled_pyramid(), and
...
tiled_pyramid_to_image().
2016-08-28 16:56:53 -04:00
Davis King
1a739219b6
Fixed compiler warning.
2016-08-28 14:43:13 -04:00
Davis King
9eed5974dc
Cleaned up assert statements a bit.
2016-08-28 13:28:14 -04:00
Davis King
bb60d061c4
Added nearest_rect()
2016-08-28 12:09:02 -04:00
Davis King
0ac2197c74
updated docs
2016-08-28 12:07:39 -04:00
Davis King
a670742273
Made the message argument of the DLIB_ASSERT and DLIB_CASSERT macros optional.
2016-08-28 12:07:27 -04:00
Davis King
3f92a5cff3
Moved impossible_labeling_error to error.h
2016-08-27 20:13:19 -04:00
Davis King
fb44c7ba78
Added box_intersection_over_union() and also renamed the class members of
...
test_box_overlap so they are less confusing and vague.
2016-08-27 16:38:34 -04:00
Davis King
f0dff5fc04
Added alias_tensor_const_instance
2016-08-27 09:52:18 -04:00
Davis King
7c6a800bb9
Made add_loss_layer constructor more flexible. Now you can construct
...
from objects that are implicitly convertible to a loss details object
just like you can for computational layers.
2016-08-27 09:23:09 -04:00
Davis King
b09ddc3ac7
Fixed a bug in memcpy() for tensors where you weren't allowed to copy
...
alias tensors. Now any kind of tensors are supported.
2016-08-27 09:10:50 -04:00
Davis King
fe42f66242
Slightly adjusted some of the unit tests to avoid false failures in some
...
environments.
2016-08-24 15:50:24 -04:00
Davis King
7999f6daac
Made test_layer() more numerically robust.
2016-08-24 15:36:01 -04:00
Davis King
6cd376c213
Updated arch list to simd instructions are dealt with correctly on more platforms.
2016-08-24 15:35:42 -04:00
Davis King
02d8ebc903
fixed typo in example
2016-08-24 06:56:35 -04:00
Davis King
08f2c26a2d
merged
2016-08-23 17:01:36 -04:00
Davis King
6a4ecdcf32
Minor changes to avoid compiler warnings
2016-08-23 16:52:24 -04:00
Davis King
7b46fdb5b0
Added faq about boost.python
2016-08-23 16:51:21 -04:00
Davis King
5e0cc69591
Improved how the unit tests build all/source.cpp
2016-08-23 15:58:15 -04:00
Davis King
3ca480284b
cmake cleanup
2016-08-23 15:05:55 -04:00
Davis King
64ee462995
Adjusted test to avoid false alarm
2016-08-23 06:41:19 -04:00
Davis King
dec0d93a51
Fixed rotate_image() so that it uses the generic image interface rather than
...
expecting an array2d like object.
2016-08-22 16:47:51 -04:00
Davis King
091d441ccb
fixed compiler error
2016-08-22 15:08:20 -04:00
Davis King
4f0c2ba092
Fixed typo in network definition.
2016-08-22 14:53:26 -04:00
Davis King
ca698f63a6
Fixed compiler warnings
2016-08-22 14:53:07 -04:00
Davis King
679a6517f9
Made the thread local variables that hold the cudnn and cublas context objects
...
not destruct and recreate themselves when you switch devices. Instead, they
keep a table of context objects, for each thread and device, reusing as necessary.
This prevents churn in the context objects when you are switching back and
forth between devices inside a single thread.
2016-08-22 11:36:56 -04:00
Davis King
f194bdc948
Added cuda bindings: get_device_name(), set_current_device_blocking_sync().
2016-08-22 10:20:41 -04:00