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
Davis King
8332489805
Fixed a few places where lab color space still referred to the channels
...
as being signed rather than unsigned.
2016-08-05 08:13:45 -04:00
Davis King
8db76eb89a
Merge branch 'lab_pixel' of git://github.com/sutr90/dlib into sutr90-lab_pixel
2016-08-05 07:11:20 -04:00
sutr90
64e437a320
Added test for RGB to Lab to RGB conversion.
2016-08-05 10:59:07 +02:00
Davis King
8c037c3cb0
Added guards so dlib::async code isn't pulled in when using old versions of visual studio (since they don't support c++11).
2016-08-04 21:12:00 -04:00
Davis King
a5e264cb31
Added check for initializer list support so code compiles in visual studio.
2016-08-04 21:10:12 -04:00
Davis King
87e04764e5
Removed call to std::round() since visual studio 2012 doesn't support it.
2016-08-04 21:09:52 -04:00
Davis King
e282307b64
added missing requirement.
2016-08-03 11:18:37 -04:00
sutr90
fa865c218e
Added tests for Lab pixels.
2016-08-03 14:48:59 +02:00
Davis King
bc4b2814af
Fixed silly typo in script
2016-07-31 09:49:21 -04:00