Commit Graph

5487 Commits

Author SHA1 Message Date
Davis King fdf2a45448 merged 2016-02-06 19:06:43 -05:00
Davis King c9090bfdfb updated docs 2016-02-06 19:05:25 -05:00
Davis King 2b7b4649e2 Added probability_gradient_greater_than() and probability_gradient_less_than()
global functions.
2016-02-06 18:59:12 -05:00
Davis King 16d4d5d8bd Added serialization support for std::deque. 2016-02-06 18:53:10 -05:00
Davis King 5e4350ca93 merged 2016-02-05 15:53:52 -05:00
Davis King 124485955c Minor change to avoid compiler errors in older compilers 2016-02-05 15:43:09 -05:00
Davis King a3dad7aca6 fixed compiler warnings in old gcc 2016-02-05 15:40:52 -05:00
Davis King 1c449cd80b updated docs 2016-02-05 13:57:00 -05:00
Davis King f4e9ebc3eb updated docs 2016-02-05 13:45:14 -05:00
Davis King 51db81c6c3 Updated documentation 2016-02-05 13:42:09 -05:00
Davis King 2812014eb5 Fixed compile time error. 2016-02-05 12:50:02 -05:00
Davis King 195c769458 Made column major matrices directly wrap matlab matrix objects when used
inside mex files.  This way, if you use matrix_colmajor or fmatrix_colmajor
in a mex file it will not do any unnecessary copying or transposing.
2016-02-05 12:31:59 -05:00
Davis King 6178838ec4 Made the MATLAB_MEX_FILE #define get set globally to avoid any possibility of
ODR violations.
2016-02-05 10:22:16 -05:00
Davis King 03bfd6f3c4 Clarified instructions 2016-02-04 09:25:57 -05:00
Davis King eeb6ffa98e merged 2016-02-04 09:21:12 -05:00
Davis King 6886042c8e Now when you make a mex file with cmake it will only try to link to the BLAS
and LAPACK that comes with MATLAB since trying to use any other BLAS or LAPACK
generally makes MATLAB unstable.
2016-02-04 09:19:13 -05:00
Davis King 36fdfe6802 Added a copy of CBLAS so we can use it when linking against a BLAS that
doesn't have it.
2016-02-04 09:07:41 -05:00
Davis King 6b064d3584 Made the python __version__ field come from the DLIB_VERSION macro set by
CMake.
2016-02-03 08:32:59 -05:00
Davis King fcf80e1dd0 merged 2016-02-03 08:24:37 -05:00
Davis King 96e9129105 Made the python build get a DLIB_VERSION macro defined. Also cleaned up cmake
a little bit.
2016-02-03 08:24:11 -05:00
Davis E. King 66d11e8910 Merge pull request #73 from patricksnape/drectangle_equality
Drectangle equality
2016-02-03 08:22:40 -05:00
Patrick Snape 86e93291a0 Add __version__ to dlib module
Only issue is that the strong is hardcoded - otherwise
this is actually technically required by PEP 396
2016-02-03 10:59:04 +00:00
Patrick Snape d7cac78757 Allow serilization and printing of shape_predictor_training_options
Add a simple print and serialization scheme for
shape_predictor_training_options. This enables you to serialize
your training options.
2016-02-03 10:58:21 +00:00
Patrick Snape ad882c4a31 Propagate equality operators through to Python
Easy change to allow comparisons on the Python side for
both rectangle and drectangle
2016-02-03 10:57:39 +00:00
Patrick Snape ca568f54da Add equality to drectangle
This is in the main dlib source code (rather than specifically
Python). Equality operators were missing for drectangles and
so were copied from rectangle.
2016-02-03 10:56:59 +00:00
Davis King 032e5e3f4b merged 2016-02-02 20:35:37 -05:00
Davis King 64c7e966e1 Added a function to check if the matlab user hit ctrl+c. 2016-02-02 13:28:36 -05:00
Davis King c35041e31f Made mex files always build with fPIC. 2016-02-02 12:39:07 -05:00
Davis King 62c6ba3f30 Improved building of mex files. 2016-02-02 11:08:28 -05:00
Davis King 5c17c93f27 Minor change to avoid compiler warnings 2016-02-02 10:27:32 -05:00
Davis King ecc00ce7ab merged 2016-02-01 13:29:22 -05:00
Davis King 573fce15a8 Improved building of mex files with cmake. 2016-02-01 13:28:28 -05:00
Davis King dd603855c6 updated docs 2016-01-31 12:23:29 -05:00
Davis King e8b97bb5e5 Added random_color_transform and disturb_colors(). 2016-01-31 11:59:33 -05:00
Davis King 43f6cd7781 Minor cleanup 2016-01-31 10:55:19 -05:00
Davis King 99ce564b67 Changed the tensor serialization format to use a 4 byte little endian IEEE
representation rather than dlib's default variable length encoding.  This
change makes the resulting serialized networks about 33% smaller.
2016-01-30 09:52:24 -05:00
Davis King 9d5c2b74db Added host_write_only() and device_write_only() to the gpu_data and tensor
objects.  Then made the relevant parts of the code use these functions.
2016-01-30 09:23:49 -05:00
Davis King 37c1055ac0 merged 2016-01-29 15:23:39 -05:00
Davis King b6b62fa2b1 Made cmake avoid using the Intel MKL when building mex files since it will
often create a conflict with MATLAB's copy of the MKL.
2016-01-29 15:22:41 -05:00
Davis King c029600a26 Added more Intel MKL search paths 2016-01-29 10:44:14 -05:00
Davis King 60d282a4ab Minor change to avoid compiler warning 2016-01-28 12:15:27 -05:00
Davis King 7b67bd2f20 merged 2016-01-28 12:12:10 -05:00
Davis King 060cdd092f Added struct support to matlab to C++ API 2016-01-28 10:38:58 -05:00
Davis King d479bf8590 Added tests to make sure the GPU and CPU conv code does the same thing. 2016-01-24 17:32:04 -05:00
Davis King fe6e2457df Added CPU convolution implementation. 2016-01-24 17:31:31 -05:00
Davis King fdfe77d11d Added missing asserts 2016-01-24 15:46:05 -05:00
Davis King 504dff2d63 removing cruft 2016-01-24 07:12:32 -05:00
Davis King cc5a62cd0b Made affine_transform() routines a little faster. 2016-01-24 07:10:43 -05:00
Davis King 919cbd1103 Added a multiply_ layer and set it up so you can use it instead of dropout_
after training has finished.
2016-01-24 07:03:06 -05:00
Davis King 565bed38f7 Made it so you can deserialize bn_ objects into affine_ objects. 2016-01-23 20:06:11 -05:00