Commit Graph

6336 Commits

Author SHA1 Message Date
Davis King a12e584247 Fixed syntax error in cmake script. 2017-02-18 19:20:59 -05:00
Davis E. King 7fa1452645 Add note about needing boost-python 2017-02-18 17:21:46 -05:00
Davis King e4402cf575 Don't build face recognition example if GUI support isn't enabled. 2017-02-18 15:33:09 -05:00
Davis King c89b622565 Fixed error in find_gap_between_convex_hulls() test 2017-02-16 07:35:43 -05:00
Davis King eb08cfc627 Added some comments about vector calculus. 2017-02-15 21:31:33 -05:00
Davis King 51476c4c2b merged 2017-02-15 19:41:14 -05:00
Davis King 88778d2c0e Added find_gap_between_convex_hulls() 2017-02-15 17:06:03 -05:00
Kyle McDonald f3890be9d7 remove anaconda from X11_INCLUDE_DIR. closes #437 (#438) 2017-02-13 19:03:37 -05:00
Davis King 7747be8302 cleanup 2017-02-12 20:53:02 -05:00
Davis King bdd901b16b Fixed silly error in code. 2017-02-12 20:51:50 -05:00
Davis King 3e63e0a1b3 Added a python version of the DNN face recognition example program. 2017-02-12 20:38:17 -05:00
Davis King c182adbf4b Added a python interface to the face recognition DNN model. 2017-02-12 20:37:18 -05:00
Davis King 89ee7cdb58 Make sure fPIC gets propagated to nvcc in all cases. 2017-02-12 16:47:49 -05:00
Davis King 9bd418a505 Made full_object_detection comparable via operator== 2017-02-12 16:03:40 -05:00
Davis King 11016884ed Avoid crashing visual studio 2017-02-12 13:28:42 -05:00
Davis King b10b2e1e7f Disable another visual studio warning. 2017-02-11 17:07:51 -05:00
Davis King c5b29d985b Added try/catch block to main 2017-02-11 16:45:22 -05:00
Davis King d7a6cd4960 fixed grammar in comment 2017-02-11 15:36:24 -05:00
Davis King 51e0ca8751 clarified metric learning loss 2017-02-11 15:24:00 -05:00
Davis King fe1a15f32a Added face recognition example 2017-02-11 14:52:47 -05:00
Davis King bcf6bd9a24 Cleaned up loss_metric_ code a little 2017-02-11 14:47:44 -05:00
Davis King 34cce6da41 Added roc_point and compute_roc_curve(). 2017-02-11 12:06:46 -05:00
Davis King ee0576de8b Fixed incorrect comment. 2017-02-10 20:35:46 -05:00
Davis King 45d047de80 Minor cleanup 2017-02-09 12:38:39 -05:00
Davis King 57ca3e5459 Made network smaller. 2017-02-08 22:53:55 -05:00
Dennis Francis 4dbe333707 feature_addition : Mean squared loss layer for multiple output (#404) (#427)
* feature_addition : Mean squared loss layer for multiple output (#404)

* Added loss_mean_squared_multioutput layer to support multiple outputs.
* Also added a corresponding test case to test a single variable regression
  with multiple outputs.

* Added error checks on truth argument

Added assert statements to check that truth argument in
compute_loss_value_and_gradient() method contains matrices
of correct dimension relative to the output tensor's size.
Also the requirements on argument truth to the abstract
documentation.
2017-02-06 16:52:39 -05:00
David Miller 600923359f GCC/Clang compatible SIMD code ./dlib/simd/simd**_vec.h (#414)
* GCC/Clang compatible vector extension SIMD code

* Minimal modifications to dlib for the simd_vec code to work, a few include changes and ifdefs

* Changed tabbing to spaces

* Allow type inference to binary ops on different types of same size

* Added cmake option USE_AUTO_VECTOR, and fixed up preprocessor checks.
It is required to build with gcc/clang auto vectorization

* Changed to intrinsic version due to poor auto vectorization results.
The simd8*_vec are just copies of the C code right now.

* Removed _vec variants, added to existing defines. simd_check.h back in place and removed from dlib/simd.h
2017-02-01 15:58:40 -05:00
Davis King f6ece5d23a merged 2017-01-30 15:19:16 -05:00
Davis King 4dfeb7e186 Made alias_tensor usable when it is const. 2017-01-30 15:18:39 -05:00
Davis King 7ba8ea9c27 Made dlib::thread_pool use std::thread and join on the threads in
thread_pool's destructor.  The previous implementation used dlib's global
thread pooling to allocate threads to dlib::thread_pool, however, this
sometimes caused annoying behavior when used as part of a MATLAB mex file.
2017-01-30 11:03:31 -05:00
Davis King cedccc9fc1 Made global thread pool shutdown not attempted unless the thread pool was
already enabled.  This also makes the global destruction order a little more
deterministic.
2017-01-30 10:56:47 -05:00
Davis King cb9cb4e02b Made matrix literal assignment faster for column major matrices. 2017-01-30 09:56:06 -05:00
Davis King bdbf7bb8da Fixed documentation 2017-01-25 06:59:08 -05:00
Davis King 8f4f93b09e merged 2017-01-25 06:56:59 -05:00
Daniel Crispell c15924fa5c add support for loading of RGBA JPEG images (#409) 2017-01-24 19:11:30 -05:00
Davis King 6c6c25a344 merged 2017-01-22 11:32:27 -05:00
RangerUFO 0f60ba365b Fix comments typo in dnn_introduction2_ex (#405) 2017-01-22 10:36:40 -05:00
Davis King aa0fa28533 merged 2017-01-22 10:26:27 -05:00
Davis King 3793e29e0e Added comments about test_one_step() 2017-01-22 10:25:29 -05:00
Davis King c20c11af90 Added test_one_step() to the dnn_trainer. This allows you to do automatic
early stopping based on observing the loss on held out data.
2017-01-22 10:25:06 -05:00
Davis King 601d1612e0 Always compile dnn code. 2017-01-21 21:26:15 -05:00
Frank 7ef7ba84b3 Fix imglab readme typo in cd path (#400) 2017-01-16 11:47:06 -05:00
Davis King 5f5684a8fb Made python library and header detection more robust 2017-01-16 06:54:20 -05:00
Davis King 7cf1a9282b merged 2017-01-09 07:15:13 -05:00
Davis King 47e32fb16c merged 2017-01-09 07:14:51 -05:00
Davis King 93610c4e55 Made sure cmake config file pulls in dependent include folders. 2017-01-09 07:14:20 -05:00
Stefan Schweter 45d35e6ce6 Made matrix2 test more robust on ARM64 (#394) 2017-01-08 14:46:35 -05:00
Davis King a4470b0e19 Only turn off CUDA_PROPAGATE_HOST_FLAGS on OS X since that's the only place
that really needs it off.
2017-01-06 16:12:54 -05:00
ernestotapiar 365dfd20d1 cmake script to suppress randlib warnings about *.a having no symbols on MacOSX (#390)
* cmake script to suppress randlib warnings about *.a having no symbols on
MacOSX

* Moved script code into the main CMakeLists.txt file to suppress the
superfluous ranlib warnings all the time.
2017-01-05 21:04:41 -05:00
Davis King 97151133b0 Changed to avoid linker errors on some compilers. 2017-01-04 17:19:31 -05:00