Commit Graph

7178 Commits

Author SHA1 Message Date
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
Davis King
affaead62f Don't include the doc metadata in python distributions. 2017-12-19 21:45:08 -05:00
Davis King
1470b7c8ff Record last changeset and set PATCH version to 99 2017-12-19 21:16:57 -05:00
Davis King
5f0a30d98f Added tag v19.8 for changeset fef491c3b818 2017-12-19 21:15:28 -05:00
Davis King
b8c14f6319 Created release v19.8 2017-12-19 21:15:28 -05:00
Davis King
a3909d5d5e merged 2017-12-19 14:19:39 -05:00
Davis King
fa72ac6946 Removed an assert used for debugging that shouldn't have been committed. 2017-12-19 14:18:55 -05:00
Davis King
07c4df4e99 Fixed set_colm() and set_rowm() not being assignable from some matrix
expressions.
2017-12-19 10:57:07 -05:00
Davis King
c4f48a16cd Made unit test more robust. 2017-12-19 09:59:55 -05:00
Davis King
e558318c9a Fixed initial point selection to only happen once. 2017-12-19 06:34:49 -05:00
Davis King
a451e79210 updated docs 2017-12-18 18:28:41 -05:00
Davis King
efd945618d Minor update 2017-12-18 16:20:21 -05:00
Davis King
087c1f2e61 Added a minor optimization. 2017-12-18 15:59:23 -05:00
Davis King
a966aeb94f Fixed problem with openmp linking 2017-12-18 15:07:41 -05:00
Davis King
a5121e57d6 updated docs 2017-12-17 22:13:35 -05:00
David Hirvonen
4149ade97f add chrono::duration_cast<>() cast for clang error (#1019)
* fix chrono cast for llvm

https://stackoverflow.com/a/18284105

tested: clang-3.9, clang-5.0

```
/Source/dlib/dir_nav/dir_nav_kernel_2.h:397:31: error: no viable overloaded '+='
                last_modified += std::chrono::nanoseconds(buffer.st_atim.tv_nsec);
                ~~~~~~~~~~~~~ ^  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/c++/v1/chrono:782:43: note: candidate function not viable: no known conversion from 'duration<[...], ratio<[...], 1000000000>>' to 'const duration<[...], ratio<[...], 1000000>>' for 1st argument
    _LIBCPP_INLINE_VISIBILITY time_point& operator+=(const duration& __d) {__d_ += __d; return *this;}
                                          ^
Source/dlib/dir_nav/dir_nav_kernel_2.cpp:69:33: error: no viable overloaded '+='
            state.last_modified += std::chrono::nanoseconds(buffer.st_atim.tv_nsec);
            ~~~~~~~~~~~~~~~~~~~ ^  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/c++/v1/chrono:782:43: note: candidate function not viable: no known conversion from 'duration<[...], ratio<[...], 1000000000>>' to 'const duration<[...], ratio<[...], 1000000>>' for 1st argument
    _LIBCPP_INLINE_VISIBILITY time_point& operator+=(const duration& __d) {__d_ += __d; return *this;}
```

* fix typo
2017-12-17 20:18:44 -05:00