Commit Graph

6260 Commits

Author SHA1 Message Date
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
Davis King
c7f27517e1 Added is_row_major(). Also made sum() run over the matrix in column major
order if that's the memory layout of the argument.
2016-08-22 10:11:23 -04:00
Davis King
ff6bd2ddd6 Added an assert on the size of matlab's bools. 2016-08-22 10:05:56 -04:00
Davis King
95c5e95930 Added annotation() to tensor so that you can associate any object you want
with a tensor.
2016-08-21 21:03:16 -04:00
Davis King
3a9b12424a Clarified spec 2016-08-21 20:48:50 -04:00
Davis King
031bb7d092 Added a set_image_size() for sub_image_proxy objects so that they can be
written to with assign_image().  However, you get an error if you try to
assign an image with a different size.
2016-08-21 20:46:49 -04:00
Davis King
7dc61eaf10 Added comments about thread safety requirements. 2016-08-21 19:57:18 -04:00
Davis King
32ebe06e79 Made the coordinate mapping between pyramid layers slightly more accurate. 2016-08-21 14:59:39 -04:00
Davis King
095d3e0ce1 Fixed more compiler warnings 2016-08-16 18:19:26 -04:00
Davis King
51946baa7d Fixed some compiler warnings 2016-08-16 18:15:59 -04:00
Davis King
b3e9f7afc9 Made the unit tests compile all/source.cpp. 2016-08-16 18:14:53 -04:00
Davis King
4c1e0efb04 Removed concat1 and inception1 templates to avoid user confusion. 2016-08-15 21:02:42 -04:00
Davis King
27b5375c96 merged 2016-08-15 18:27:45 -04:00
Davis King
ef4210fba5 Made the relational operators constexpr so they don't accidentally cause
compilation errors when they get pulled into the scope of template
metaprogramming expressions.
2016-08-15 18:27:06 -04:00
Davis King
104c166c83 updated makefile to give -std=c++11 flag 2016-08-15 18:08:39 -04:00
Davis King
29571888f2 merged 2016-08-15 10:49:48 -04:00
Davis King
d103585570 Changed the DNN API so that sample_expansion_factor is a runtime variable
rather than a compile time constant.  This also removes it from the input layer
interface since the DNN core infers its value at runtime, meaning users that
define their own input layers don't need to specify it anymore.
2016-08-14 19:07:30 -04:00
Davis King
390c8e90aa Made layer_details() part of the SUBNET interface so that user defined layer
details objects can access each other.  Also added the input_layer() global
function for accessing the input layer specifically.
2016-08-14 13:48:18 -04:00
Davis King
285bba7646 Fixed dlib.range's iterator interface to work in python 3. 2016-08-14 09:12:51 -04:00
Davis King
eec40e4fa6 Record last changeset and set PATCH version to 99 2016-08-13 14:09:22 -04:00
Davis King
f80431aa1a Added tag v19.1 for changeset ad6cd2a3bfd5 2016-08-13 14:07:28 -04:00
Davis King
a57b5652fd Created release v19.1 2016-08-13 14:07:28 -04:00
Davis King
af983d8a6b Added a bat file for running all the unit tests through different versions of visual studio. 2016-08-13 12:57:21 -04:00
Davis King
8a9f700f1b Merge 2016-08-13 12:48:25 -04:00
Davis King
0c0bde22a8 New versions of boost and cmake need to be told to look in boost's library folder to find boost's libraries
when building on windows.  Bizarre.
2016-08-13 12:47:55 -04:00
Davis King
f994747f7a We don't use wine anymore 2016-08-13 09:37:19 -04:00
Davis King
3390697315 updated docs 2016-08-13 09:26:33 -04:00
Davis King
cdb181920a updated release notes 2016-08-13 09:09:29 -04:00
Davis King
79a56e5657 Fixed typo and updated references to visual studio. 2016-08-13 09:03:47 -04:00
Davis King
70eecbd6b0 Fixed compiler error on ubuntu 16.04 2016-08-13 09:03:16 -04:00
Davis King
48507ab590 Fixed grammar. 2016-08-13 09:02:57 -04:00
Davis King
02b209316a Added workaround for a bug in cuDNN5.1 which causes
cudnnGetConvolutionBackwardFilterAlgorithm() to pick invalid algorithms,
resulting in cuDNN not working correctly.
2016-08-11 22:12:40 -04:00
Davis King
fde662b31e updated docs 2016-08-11 19:07:30 -04:00
Davis King
480307d03f Added additional search names for boost-python 2016-08-10 09:30:04 -04:00
Davis King
ceb6a119d5 Fixed a bug in the cuDNN binding that on rare occasions caused NaN outputs from
batch normalization.  The running mean and variance need to be initialized when
calling cuDNN, even if the averaging factor is 1.  I don't think this was the
case prior to cuDNN v5, but it certainly is the case now.  This patch fixes
this.
2016-08-09 16:33:44 -04:00
Davis King
98da589f9d merged 2016-08-09 10:48:48 -04:00
Davis King
e6a7f14c0e made unit test more repeatable 2016-08-09 10:36:38 -04:00
Davis King
f01f02b2a5 Added more testing messages 2016-08-06 12:39:13 -04:00
Davis King
2dd89e3f04 CMake change to enable cuda use on ubuntu 16.06 2016-08-06 12:00:41 -04:00
Davis King
e0af06c0db added missing #include file 2016-08-05 19:14:49 -04:00
Davis King
36a0776ad3 Merge branch 'sutr90-lab_pixel' 2016-08-05 08:14:20 -04:00