Commit Graph

7193 Commits

Author SHA1 Message Date
Davis King
2a2bc9cef1 Different versions of python disagree on what exception gets thrown. So just
check for any exception.
2018-01-16 21:26:56 -05:00
Davis King
99b0f687b4 Fixed test to really work if numpy isn't installed. 2018-01-16 21:00:54 -05:00
Davis King
a9ca83d228 Disable these tests if numpy isn't installed 2018-01-16 20:14:37 -05:00
Davis King
0217fb5a3b A minor change to avoid compiler warnings in visual studio. 2018-01-16 20:07:09 -05:00
Davis King
97770d383f Added appveyor python tests 2018-01-16 19:54:33 -05:00
Davis King
63f6585035 Make travis python tests run via setup.py 2018-01-16 19:47:27 -05:00
Davis King
88dd3e4daf Set the number of cores to use for building based on system properties. 2018-01-16 19:41:17 -05:00
Davis King
0bb79f86de Fixed grammar 2018-01-16 19:23:35 -05:00
Davis King
28f9111901 Fixed simd warning message not working. 2018-01-16 19:23:08 -05:00
Davis King
15b8b54a59 Added more things to ignore list 2018-01-16 19:22:40 -05:00
Davis King
9e3b19c859 Added warning about simd instructions 2018-01-16 07:26:46 -05:00
Davis King
9e3f6220c0 Added missing #include 2018-01-16 07:25:55 -05:00
Davis King
635747e654 Cleaned up setup.py and the python cmake script. 2018-01-16 07:24:47 -05:00
Davis King
e975eeed1e Removed note about needing boost-python since it's not needed anymore. 2018-01-16 07:24:16 -05:00
Davis King
b8800728b2 Added .so to ignore list 2018-01-16 07:23:07 -05:00
Davis King
ca3111b0c8 ignore python temp files 2018-01-16 06:37:44 -05:00
Davis King
5009214cb3 Added new setup.py file. 2018-01-15 22:30:59 -05:00
Davis King
dfe9b6f50b Removed cruft 2018-01-15 22:30:42 -05:00
Davis King
1e051f1a60 Made test work in python3 2018-01-15 22:29:37 -05:00
Mischan Toosarani-Hausberger
077a3b60e7 Replace boost::python with pybind11 (#1040)
* Replace boost::python with pybind11

* Replace add_python_module with pybind11_add_module

* Fix clang error on type-dependent expression
2018-01-15 14:41:40 -05:00
Davis King
c68bb4e785 Changed the behavior of imglab's --flip option. It will now attempt to adjust
any object part labels so that the flipped dataset has the same average part
layout as the source dataset.  I added a --flip-basic that behaves like the old
--flip.  However, most people flipping a dataset with part annotations will
want to use --flip.
2018-01-14 09:16:50 -05:00
Davis King
c13ca8ebe7 Just moved code around to clean things up a little. 2018-01-13 14:36:55 -05:00
Davis King
09b31219fa Fix compile error in visual studio. 2018-01-12 22:19:53 -05:00
Davis King
9e74058b75 Added some functions for checking, at runtime, what SIMD instructions are available. 2018-01-12 22:10:24 -05:00
Davis King
679b2a2404 merged 2018-01-10 18:55:19 -05:00
Davis King
a389bf2388 Made cmake print a more informative error message when your compiler doesn't
appear to support cuda.
2018-01-10 18:49:49 -05:00
David Hirvonen
75961ed1ac CUDA_PROPAGATE_HOST_FLAGS=OFF in FindCUDA.cmake for try_compile tests (#1048)
Set `CUDA_PROPAGATE_HOST_FLAGS=OFF` in FindCUDA.cmake to avoid duplicate flag errors in nvcc that can occur when host flag forwarding is enabled and `-std=c++11` is set in `CMAKE_CXX_FLAGS` in the operative toolchain.
```
# Override the FindCUDA.cmake setting to avoid duplication of host flags if using a toolchain:
option(CUDA_PROPAGATE_HOST_FLAGS "Propage C/CXX_FLAGS and friends to the host compiler via -Xcompile" OFF)
```
2018-01-04 14:17:00 -05:00
Davis King
f4853053e8 merged 2018-01-03 21:26:10 -05:00
Davis King
9700c53e35 Updated XQuartz URL 2018-01-03 21:25:33 -05:00
Davis King
29f85d065b More cleanup 2017-12-30 08:10:18 -05:00
Davis King
f26963ab0c updated issue template 2017-12-30 08:04:19 -05:00
Davis King
e5d117c8bf Made video tag work in more browsers 2017-12-29 12:58:17 -05:00
Davis King
aafbfefa38 Saving another picture. 2017-12-29 12:50:16 -05:00
Davis King
e2f3a1b01b Adding this version of the video back since it's the only thing that plays on
iOS apparently.
2017-12-29 12:41:31 -05:00
Davis King
36b76c4b55 Remade this video file so it's not blurry on the first frame. 2017-12-29 11:04:05 -05:00
Davis King
21425b156f Made setup.py more robust in how it enables 64bit visual studio compiles. It should now
be more future proof and in particular correctly enable 64bit compiles in visual studio 2017
when appropriate.
2017-12-27 17:03:20 -05:00
Davis King
ba84c5b4e9 clarified instructions 2017-12-27 08:28:52 -05:00
Davis King
fa00be8d75 Changed figure title 2017-12-25 09:52:11 -05:00
Davis King
15edd6b76f Saving another svg image 2017-12-25 09:43:12 -05:00
Davis King
e6fe1e0259 merged 2017-12-25 08:51:15 -05:00
Davis King
c9faacce29 Fixed typos 2017-12-25 08:50:34 -05:00
Duc Thien Bui
9185e0a725 fix typo in train find cars example (#1028) 2017-12-25 07:56:42 -05:00
Andriy Gerasika
92692e10db >2x performance increase if DLIB_DO_NOT_USE_SIMD is defined (#1027) 2017-12-24 19:51:19 -05:00
Davis King
cf0b3b94d5 updated docs 2017-12-23 09:55:07 -05:00
Davis King
61b93edf4a merged 2017-12-23 09:50:52 -05:00
Davis King
42c21f166c Merge 2017-12-23 09:48:45 -05:00
Davis King
15d9e853ff Made cmake include the visual studio runtime version in the name of the output .lib file
when building dlib in visual studio.
2017-12-23 09:48:11 -05:00
Davis King
62b6d6ffd8 fixed spelling error 2017-12-21 18:45:30 -05:00
Paul Guyot
f750268801 Make sure intel architecture is properly detected (#1024)
On systems such as FreeBSD, `uname -p` returns amd64 (in lowercase) and -DUSE_AVX_INSTRUCTIONS=1 does not work (the option is ignored).
2017-12-20 11:28:39 -05:00
Davis King
ced9f6f407 Make the global optimizer work in python3 2017-12-19 22:24:31 -05:00