Commit Graph

4281 Commits

Author SHA1 Message Date
Davis King
29381bcccb Updated find_max_factor_graph_nmplp() to use the version of the algorithm from
the 2011 paper Introduction to dual decomposition for inference by David
Sontag, Amir Globerson, and Tommi Jaakkola since the original 2008 paper had an
error in the algorithm that negatively effected its convergence.  Thanks to
James Gunning for pointing this out.
2013-11-29 17:05:38 -05:00
Davis King
251196c34a Minor changes to avoid compiler errors in visual studio 2013 2013-11-28 02:51:00 -05:00
Davis King
1b0ecb94aa Fixed a bug in the average precision calculation when ignore boxes were used. 2013-11-23 20:07:13 -05:00
Davis King
363d505c10 Simplified code slightly. 2013-11-23 19:55:44 -05:00
Davis King
77f6c9f27e Made num_separable_filters() work with multi-filter object detectors. 2013-11-23 19:34:04 -05:00
Davis King
d02e647275 Slightly changed code to reduce the number of memory allocations
made during object detection.
2013-11-23 15:48:02 -05:00
Davis King
8e3181909d Added float_spatially_filter_image_separable() to the public API. 2013-11-23 15:47:32 -05:00
Davis King
9d3e40a6d5 Added support for ignore rectangles into the object detection testing functions. I also
changed the interfaces to these functions slightly.  Instead of taking a double that
determines how we decide if boxes match, they now take a test_box_overlap object.
2013-11-23 14:20:47 -05:00
Davis King
f53da5ed6b updated docs 2013-11-23 11:52:46 -05:00
Davis King
11e574ff97 Set a default value for the second argument of test_box_overlap's constructor.
Also added overlaps_any_box().
2013-11-23 11:49:45 -05:00
Davis King
5d264ae5cd Changed the default parameters of the test_box_overlap object. Now it
defaults to using exactly the PASCAL VOC match criterion.
2013-11-22 20:07:12 -05:00
Davis King
afc756ff88 A minor change to avoid compiler warnings. 2013-11-22 19:05:52 -05:00
Davis King
48413ae845 Updated about window text for imglab. 2013-11-22 18:45:06 -05:00
Davis King
277e13dfa7 Added an overload of add_image_left_right_flips() that can take two sets of
rectangles instead of just one.
2013-11-21 23:20:23 -05:00
Davis King
8b95426015 Added the option to tell the optimizer there are "ignorable" rectangles
in each image.
2013-11-21 23:14:18 -05:00
Davis King
1df8c4412d Upgraded load_image_dataset() so that it returns the list of ignored
rectangles.
2013-11-21 22:15:36 -05:00
Davis King
647285e808 Updated imglab so it loads and stores the new ignore option from the gui
to/from the xml files.
2013-11-21 20:40:12 -05:00
Davis King
e11666b4e5 Added an ignore option to the image dataset metadata file format. 2013-11-21 20:39:12 -05:00
Davis King
e3818c4e12 Added the option to draw crossed out rectangles onto the image_display widget. 2013-11-21 20:38:45 -05:00
Davis King
edeb4f86ce Made the multiclass SVM work with label types other than basic integers and floats. 2013-11-21 19:45:17 -05:00
Davis King
967b521512 Upgraded the object_detector. Now it can store multiple weight vectors and hence
multiple object detectors.
2013-11-20 20:29:26 -05:00
Davis King
8194f4ab49 Fixed off by one bug in resize_image() 2013-11-19 23:57:41 -05:00
Davis King
be6a1be494 removed cruft 2013-11-18 21:39:58 -05:00
Davis King
f2139b5000 Changed code a bit so that the scan_fhog_pyramid can avoid constructing
the fhog_filterbank each time the detector executes.
2013-11-18 21:05:40 -05:00
Davis King
f57e4cf549 Fixed #include 2013-11-17 21:21:08 -05:00
Davis King
b1cc435cc2 merged 2013-11-17 20:27:15 -05:00
Davis King
1cff4030b9 fixed #include 2013-11-17 20:26:37 -05:00
Davis King
d21927bc09 merged 2013-11-17 19:29:10 -05:00
Davis King
8c89480d1b Fixed broken #include 2013-11-17 19:18:52 -05:00
Davis King
eabec393a1 updated docs 2013-11-17 19:14:49 -05:00
Davis King
160337da3e Made the one_vs_one_trainer and one_vs_all_trainer objects multithreaded
so they can run each binary trainer on a different core.
2013-11-17 19:14:35 -05:00
Davis King
525f2a529b Made the probabilistic trainer adapter not hold onto the input trainer
by reference since this causes problems if the probabilistic adapter
is saved for later use.  Now it will simply hold the trainer by value.
2013-11-17 19:01:27 -05:00
Davis King
83217d764a Added the option to learn non-negative weights to the svm_multiclass_linear_trainer. 2013-11-17 16:25:34 -05:00
Davis King
8e6b5a40c6 merged 2013-11-17 15:59:26 -05:00
Davis King
db5352d174 updated docs 2013-11-17 15:59:16 -05:00
Davis King
8d23fd8c35 updated docs 2013-11-17 15:58:40 -05:00
Davis King
f9530dcdf1 Made the svm_multiclass_linear_trainer threaded. This also means you have to
#include dlib/svm_threaded.h instead of dlib/svm.h to get it now.
2013-11-17 15:58:32 -05:00
Davis King
72e5fbc2c4 Updated suggested books page to include accelerated c++ and a better
online reference.
2013-11-17 15:55:57 -05:00
Davis King
ef41b7f61c merged 2013-11-17 15:05:57 -05:00
Davis King
7dd725cb11 Made the matrix sub expression operators work with any kind of
integer ranges rather than just long ranges.
2013-11-17 15:05:41 -05:00
Davis King
f5712fa649 Made the test for using the separable vs. non-separable filters scale
with the size of the filters being applied.
2013-11-17 14:45:52 -05:00
Davis King
2384f6cce1 Added missing asserts 2013-11-17 14:14:26 -05:00
Davis King
17a4666941 Added unit tests for new scan_fhog_pyramid object. 2013-11-17 14:01:47 -05:00
Davis King
46bb6dc8f5 Added code showing how to get the individual decision functions out of a
multiclass decision function object.
2013-11-17 13:47:26 -05:00
Davis King
1e67beb7d0 Added unit tests for new inv() functions for the point transformation objects. 2013-11-17 13:29:52 -05:00
Davis King
2a4e62f222 Added sign() for matrix objects. 2013-11-17 13:24:00 -05:00
Davis King
31727df741 updated docs 2013-11-17 13:23:28 -05:00
Davis King
49f8b2860f Clarified matrix usage in the examples 2013-11-17 12:42:41 -05:00
Davis King
088a72063a updated docs 2013-11-17 11:34:54 -05:00
Davis King
3ea469b876 updated docs 2013-11-17 11:26:53 -05:00