Davis King
f8adfbfd96
Fixed spelling and improved error message.
2018-02-28 21:03:58 -05:00
Davis King
2f81256fec
Code cleanup
2018-02-28 20:56:22 -05:00
Davis King
34b0a2e144
Added a link time check that you aren't mixing headers from one version of dlib
...
with binaries from a different dlib version.
2018-02-28 20:00:28 -05:00
Davis King
e81176799c
merged
2018-02-28 19:30:41 -05:00
Davis King
b62476dc91
updated docs
2018-02-28 19:30:16 -05:00
Davis King
8647a33a1d
Moved files around.
2018-02-28 19:29:30 -05:00
Davis King
04be5427b2
A bit of code cleanup
2018-02-28 19:25:55 -05:00
Davis King
b6f8a268f5
Added isotonic_regression.
2018-02-28 10:03:24 -05:00
Davis King
0df6cc2d90
Added a comment.
2018-02-28 07:59:48 -05:00
Davis King
33d37f4904
Added FAQ notes about ODR violations.
2018-02-28 07:58:06 -05:00
Davis King
0ef08bb0d2
Moved the ODR violation checking code into its own file.
2018-02-28 07:54:35 -05:00
Davis King
feaf245dec
Removed deprecated files.
2018-02-28 07:12:51 -05:00
Davis King
0190794dec
Added some code that will cause people who make a standalone dlib build and
...
then take the compiled library file but ignore the config.h file to get a
linker error telling them they have been naughty. Instead, they should either
use `make install` or `cmake --build . --target install` which will copy the
correct files, or even better, don't install/build dlib as a standalone
library. Instead, use it the way shown in examples/CMakeLists.txt.
2018-02-27 22:57:15 -05:00
Davis King
048f40dc08
merged
2018-02-27 22:41:23 -05:00
Davis King
3f8eeccb00
merged
2018-02-27 22:40:13 -05:00
Davis E. King
61f747de5a
Only define one dlib target in CMake and shared vs. static is determined by BUILD_SHARED_LIBS variable. ( #1138 )
...
* Changed cmake so that there is only the dlib target and it isn't forced
to be static or shared, instead, the build type will toggle based on the
state of CMake's BUILD_SHARED_LIBS variable.
* Make CMake build dlib statically whenever DLIB_IN_PROJECT_BUILD==true,
regardless of the state of BUILD_SHARED_LIBS. This means projects that
use dlib by saying add_subdirectory(dlib) will always statically link to
dlib, unless DLIB_IN_PROJECT_BUILD is explicltly set to false and
BUILD_SHARED_LIBS set to true.
2018-02-27 22:39:20 -05:00
Juha Reunanen
2f8d7053eb
Change types of tensor's size-related members to prevent integer overflow ( #1151 )
...
* Change types of tensor's size-related members, so that integer overflow does not happen so easily (see #1148 )
* Fix missing typecast
2018-02-25 12:11:18 -05:00
Davis King
deccc99cf7
Fixed bug in unit tests.
2018-02-23 11:40:09 -05:00
Davis King
af1af6d27a
Fixed the decayed running stats objects so they use unbiased estimators.
2018-02-22 08:10:25 -05:00
Davis King
09f36dbf47
Added python interface to cuda::set_device() and other relevant
...
functions.
2018-02-21 21:51:48 -05:00
Davis King
18489b11d6
updated docs
2018-02-21 08:05:36 -05:00
Davis King
c3d52caaa1
Fixed typo in spec
2018-02-21 07:58:27 -05:00
Davis King
a37c5e7c2b
Add the example program contents as a test as well.
2018-02-19 13:31:07 -05:00
Morten Hustveit
9691c194c0
Added support for variadic Python functions in find_max_global. ( #1141 )
...
* Added support for variadic Python functions in find_max_global.
* Add test for find_{min,max}_global on variadic functions.
2018-02-19 13:26:45 -05:00
Davis King
ab50ab844f
Make CMake build dlib statically whenever DLIB_IN_PROJECT_BUILD==true,
...
regardless of the state of BUILD_SHARED_LIBS. This means projects that
use dlib by saying add_subdirectory(dlib) will always statically link to
dlib, unless DLIB_IN_PROJECT_BUILD is explicltly set to false and
BUILD_SHARED_LIBS set to true.
2018-02-16 19:09:10 -05:00
Davis King
09a9ad6d1e
Fixed inconsistent random seeding in test.
2018-02-16 17:57:10 -05:00
Davis King
f9b272fe77
Added message to test so that the next time it fails on Appvetor we can
...
see what happened.
2018-02-16 17:55:37 -05:00
Davis King
f62d047412
Added dlib version to compiled library file names when using visual studio.
2018-02-16 13:04:13 -05:00
Davis King
941d764cab
Changed cmake so that there is only the dlib target and it isn't forced
...
to be static or shared, instead, the build type will toggle based on the
state of CMake's BUILD_SHARED_LIBS variable.
2018-02-16 10:52:15 -05:00
Davis King
ad414af777
Made pytest ignore docs and dlib folders.
2018-02-16 09:29:15 -05:00
Davis King
f6ea3397c3
Fixed spelling errors.
2018-02-14 22:01:53 -05:00
Davis King
87aa290c04
Fixed pybind11 not doing the overload resolution correctly on the cnn_face_detector's operator() in Python.
2018-02-14 22:01:22 -05:00
Davis King
939e967059
Improved the type validation on numpy arrays passed to dlib. The old code
...
didn't have complete coverage and would let incorrectly typed numpy arrays
through.
2018-02-14 22:00:52 -05:00
Davis King
176e329d23
Upgrade to the newer shuffle command to avoid warnings about deprecation from CUDA 9.0.
2018-02-14 21:32:56 -05:00
Davis King
caea9a2c05
Tell travis to run on sudo-enabled Precise infrastructure which has 7.5GB of RAM.
2018-02-14 10:02:01 -05:00
Davis King
ca1c7af21b
Added missing , in output
2018-02-13 19:09:54 -05:00
Davis King
051b67f095
merged
2018-02-13 18:37:08 -05:00
Davis King
1d8d9d62b1
merged
2018-02-13 18:36:53 -05:00
HarveyBrezinaConniffe
46e85e45c6
Added set_dnn_prefer_smallest_algorithms() ( #1128 )
...
* Added set_dnn_prefer_smallest_algorithms()
* Added description for set_dnn_prefer_smallest_algorithms();w
* Changed architectures to algorithms.
2018-02-13 16:28:46 -05:00
Davis King
c38d7e5544
Refactored the random feature selection function so that it always has bounded
...
runtime, even with very bad parameter selections.
2018-02-13 07:42:16 -05:00
Davis King
06a57d2501
Improve cmake lapack finding.
2018-02-12 18:06:32 -05:00
Davis King
ef4b7a0ef2
Added -G option to setup.py that sets cmake's generator.
2018-02-12 07:34:07 -05:00
Davis King
52edc0d2e7
Fixed incorrect input validation.
2018-02-11 22:40:30 -05:00
Davis King
0040eb7fa8
removed debugging print statement.
2018-02-11 22:38:27 -05:00
Davis King
aca8087371
Added num_threads to shape_predictor_training_options.
2018-02-11 18:15:40 -05:00
Davis King
2a26521b0b
- Added rectangless.
...
- Moved all uses of PYBIND11_MAKE_OPAQUE to a common header to avoid possilbe ODR violations.
- Added python binding for make_bounding_box_regression_training_data().
2018-02-11 17:19:04 -05:00
Davis King
beece2077b
Updated to pybind11 2.2.2
2018-02-11 08:43:35 -05:00
Davis King
5bde5c526e
Made the index outputs of run_multiple_rect_detectors be integers rather than doubles.
2018-02-10 17:12:13 -05:00
Davis King
1ec5a94554
Added comments about how to run multiple detectors together efficiently.
2018-02-10 16:58:02 -05:00
Davis King
2d3dd3c830
Exposed the image_dataset_metadata routines for parsing XML datasets to Python.
2018-02-10 12:44:39 -05:00