Commit Graph

6949 Commits

Author SHA1 Message Date
Gilles Rochefort
9bc7070a77 Add some operator() to cv_image for compatibility with mmod loss. (#900)
* Add some operator() to cv_image for compatibility with mmod.

* Update documentation
2017-10-21 10:16:36 -04:00
Davis King
261f12d4ea Updated spec 2017-10-20 21:45:14 -04:00
Gilles Rochefort
540f47409e Missing interfaces in add_prev for compatibility with mmod loss. (#901) 2017-10-20 21:44:00 -04:00
Davis King
6d343f93da Sometimes the loss_mmod_ layer could experience excessively long runtime during
early iterations since the model might produce a huge number of false alarms
while the detector is still bad.  Processing all these detections can cause it
to run slowly until the model is good enough to avoid really excessive amounts
of false alarms.  This change puts more of a limit on the number of false
alarms processed during those early iterations and avoids the slowdown.
2017-10-20 21:37:54 -04:00
Davis King
3e48a36ede The loss returned by compute_loss_value_and_gradient() wasn't quite right. It
doesn't effect normal use, but it's still wrong and this change fixes it.
2017-10-20 21:34:34 -04:00
Davis King
3da61b2581 Added install_target_output_folder option to matlab cmake scripts. 2017-10-20 16:54:49 -04:00
Davis King
1d8445cbfd Fixed the terrible breaking change to the tensor object I made earlier today :( 2017-10-19 20:57:24 -04:00
Davis King
86465e307a Improved cmake error messages about CUDA support. 2017-10-19 12:09:29 -04:00
Davis King
e9837f7035 Changed tensor so that, when reallocating memory, it frees any existing memory
*before* allocating new memory.  It used to be the other way around which
caused momentary spikes of increased memory usage.  This could put you over the
total memory available in some cases which is obviously less than ideal
behavior.
2017-10-19 10:50:40 -04:00
Davis King
7a317f5456 Fixed bug 2017-10-18 10:17:46 -04:00
Davis King
e35b2d8fc8 Added python binary classifier example 2017-10-18 07:36:31 -04:00
Davis King
525bf0e15b Fixed weird wording. 2017-10-17 19:20:29 -04:00
Davis King
3aa9991892 Made comment more clear. 2017-10-17 19:18:57 -04:00
Juha Reunanen
9d59214062 Add get_net parameter that allows to call the function without forcing flush to disk (#875)
* Add get_net parameter allowing to call the function without forced flush to disk (see the discussion in #869)

* A blindfolded attempt to fix compile error on the CI server
2017-10-17 19:12:38 -04:00
jpblackburn
f467236cdd Allow cross_validate_trainer_threaded to use non-double data (#883) 2017-10-17 19:11:16 -04:00
Davis King
2b9b3fef6a merged 2017-10-17 19:02:58 -04:00
Davis King
aa1a3b8611 Made cmake print a very explicit error message if you try to use a version of gcc that is too old. 2017-10-17 19:02:31 -04:00
Davis King
88d0bdec86 Fixed path 2017-10-17 10:31:27 -04:00
Davis King
50c1099449 Yet more cmake cleanup 2017-10-17 10:24:23 -04:00
Davis King
d832a5760a More cmake script cleanup 2017-10-17 10:02:30 -04:00
Davis King
e17b082540 Fix deprecation warning from new cmake 2017-10-17 09:45:18 -04:00
Davis King
38a2846dda More cmake cleanup 2017-10-16 21:36:18 -04:00
Davis King
6ffdf802ee suppress compiler warnings 2017-10-16 21:34:17 -04:00
Davis King
5b4206f97c Suppress compiler warnings 2017-10-16 21:34:00 -04:00
Davis King
f18f753c04 CMake tweaks to avoid errors in visual studio 2017-10-16 21:11:16 -04:00
Davis King
3b2d73db68 Some cmake script cleanup and refactoring. 2017-10-16 20:55:28 -04:00
Davis King
c0b60faaf0 Removed cout statement. 2017-10-16 20:55:07 -04:00
Davis King
0282b9428c Fixed compiler error due to #define nonsense in visual studio. 2017-10-16 09:22:01 -04:00
Davis King
1dc5e00299 Prevent include path clashes from system installs of dlib as well as suppress
warning messages from boost and python system header files.
2017-10-16 06:49:03 -04:00
Davis King
363c1ad963 merged 2017-10-15 15:54:19 -04:00
Davis King
08a7483724 I accidentally slightly changed the cropping behavior of
get_face_chip_details() when used with the 68 point landmark model about a
month ago.  This change reverts it back to the previous behavior.  The change
was very minor, so it shouldn't matter either way.  But being consistent is
important and I'm changing it back.
2017-10-15 15:53:33 -04:00
Davis King
a21093d392 Added warning messages when users use the old non-target based cmake variables. 2017-10-14 10:29:29 -04:00
Davis King
221ad16d3c merged 2017-10-10 09:59:59 -04:00
Davis King
79a620b18e Added assert to improve error messages. 2017-10-10 09:53:22 -04:00
Davis King
8365bf6878 Added get_integer() and get_integer_in_range() to dlib::rand. 2017-10-10 09:52:43 -04:00
Davis King
38dd831d9f Made dlib::array able to push_back() from rvalues. 2017-10-08 07:49:50 -04:00
Davis King
17a6e682e5 Fixed missing inline 2017-10-08 07:45:50 -04:00
Davis King
40448e64bd Made add_image_left_right_flips() and add_image_rotations() work with
mmod_rects in addition to rectangles and full_object_detections.
2017-10-07 14:09:09 -04:00
Davis King
4470280946 Fixed load_image_dataset()'s skip_empty_images() option. It wasn't skipping
images that only have ignore boxes when you load into mmod_rects like it should
have been.
2017-10-07 14:05:58 -04:00
Davis King
c2a9dee846 merged 2017-10-04 16:22:19 -04:00
Davis King
7352ef0ed7 merged 2017-10-04 16:22:10 -04:00
Davis King
2425dcaf6d Fixed spelling error 2017-10-04 16:21:11 -04:00
Davis King
00b05ab353 Made links in the faq never contain ' 2017-10-01 09:51:32 -04:00
Davis King
f66ff3b488 Added faq about common object detection problems 2017-10-01 09:51:17 -04:00
Davis King
b9238fa5eb Clarified docs 2017-10-01 08:44:03 -04:00
Hung-Wei Chiu
ea9aae0f5f Fix warning (#851)
* remove unused variable

* modify variable type from int to size_t

* fix previous delete, we need to call chinese_whispers here but we don't need its result now
2017-09-29 11:20:11 -04:00
Juha Reunanen
fa2f35fee3 cont layer: allow to set the number of filters at runtime (#845)
* cont layer: allow to set the number of filters at runtime
(implementation essentially copied from con layer)

* Document the new constructor cont_(num_con_outputs o), and the function set_num_filters
2017-09-28 05:48:17 -04:00
Davis King
6283a4b51c merged 2017-09-27 06:48:04 -04:00
Davis King
178f4205e2 Made cmake error messages a little clearer 2017-09-26 11:49:29 -04:00
Davis King
9987c0eac9 Merge branch 'visionworkz-master' 2017-09-22 21:52:42 -04:00