Commit Graph

6994 Commits

Author SHA1 Message Date
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
Davis King
603ebc2750 Changed this example to use repeat layers. This doesn't change the behavior of
the code, but it helps visual studio use less RAM when building the example,
and might make appveyor not crash.  It's also a
slightly cleaner way to write the code anyway.
2017-12-17 14:41:00 -05:00
Davis King
83a4af4622 Check if appveyor's VS2017 is the newest version. 2017-12-17 13:46:37 -05:00
Davis King
692d382d43 Updated messages about what versions of visual studio have good enough C++11 support. 2017-12-17 09:02:07 -05:00
Davis King
9a6a66fec0 Split appveyor build scripts into parts so they don't error out from being too big. 2017-12-17 08:23:43 -05:00
Davis King
a1ee6c429e Updated notes about compiling with visual studio 2017-12-16 23:41:21 -05:00
Davis King
22f26ebe97 Improved visual studio compilation instructions 2017-12-16 23:17:37 -05:00
Davis King
cb4f78ba61 Tell appveyor to use 64bit visual studio toolchain. 2017-12-16 23:04:50 -05:00
Davis King
2213c428bb updated docs 2017-12-16 22:56:50 -05:00
Davis King
a88a00d1fe Merged 2017-12-16 22:34:22 -05:00
Davis King
233a239342 updated docs 2017-12-16 22:28:16 -05:00
Davis King
43c802c961 Added video and ol tags 2017-12-16 22:24:48 -05:00
Davis King
bc7d4c4803 Converted to webm since it's compatible with more browsers. 2017-12-16 21:21:58 -05:00
Davis King
3f5de81977 Fixed grammar 2017-12-16 11:26:40 -05:00
ernestotapiar
ba83f52420 little corrections in global optimization (#1016)
* Removed redudant (repeated) definition of sample_type.

* Added return statement in the documentation of the (lambda) upper bound
function.
2017-12-15 17:12:58 -05:00
Davis King
a6c6427e03 clarified spec 2017-12-15 17:08:49 -05:00
Davis King
76dc546b90 Clarified spec 2017-12-15 11:30:19 -05:00
Davis King
977db52930 Improved error messages for people who have incorrectly installed boost in windows. 2017-12-14 08:06:16 -05:00
Davis King
d5097f72db Added python bindings for count_steps_without_decrease() and count_steps_without_decrease_robust() 2017-12-12 21:57:04 -05:00
Aron Rubin
fd06680d81 Fixed type passing to opencv to use basic instead of aggregate. (#1010)
* Fixed type passing to opencv to use basic instead of aggregate.

* Change tabs to spaces.
2017-12-12 21:23:47 -05:00
Davis King
a9b9299f2d Fixed DLIB_ISO_CPP_ONLY not building. 2017-12-12 06:36:37 -05:00
wyd1520
d223a8a076 Change VS2015 Update3 MSVC Version v19.0.24215.1 To v19.0.24210.0 (#1009) 2017-12-11 13:20:31 -05:00
Davis King
46a1893534 Fixed spelling error in comment 2017-12-11 06:40:00 -05:00
Davis King
7d3397db5b Better travis python testing. 2017-12-10 15:33:46 -05:00
Davis King
a80f31a8f6 Try to fix travis build 2017-12-10 15:25:21 -05:00
Davis King
6f4a1dd9c7 Improved cmake's finding of the right python interpreter. 2017-12-10 15:24:45 -05:00
Davis King
d3a824d942 Tell the python3 tests to use python3 2017-12-10 14:57:00 -05:00
Davis King
85d62337f6 Minor tweak 2017-12-10 14:48:09 -05:00
Davis King
f22d6736b7 Make travis build both python2 and python3 versions of the python extension. 2017-12-10 14:44:31 -05:00
Davis King
2b93468843 Made random_cropper's API a little more convenient for cropping out only
background crops.
2017-12-09 20:53:35 -05:00
Davis King
be8269900c The previous commit broke for pyhton2 but fixed python3. This should deal with
numpy's import_array() in a more robust way.
2017-12-09 20:52:07 -05:00
Davis King
7b38ea6f2d Numpy's import_array() macro in python3 requires the calling function to return
void*.  But the previous code didn't so it wouldn't compile.  Fixed that
problem.
2017-12-09 19:51:20 -05:00
Davis King
b096bddc43 Added graphic docs for find_max_global 2017-12-08 10:21:17 -05:00
Davis King
3a0a63da39 A little bit of cleanup 2017-12-08 10:16:08 -05:00
Davis King
07febbc9de Made this file executable 2017-12-08 10:09:50 -05:00