Change Log
Revision: 9117bd784328d9ac40ff
Author: Davis King
Date: Aug 08, 2020 (11:26:07 UTC)

Created release v19.21

 dlib/CMakeLists.txt | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Revision: 2c70aad12c18fddebfb4
Author: Davis King
Date: Aug 07, 2020 (12:24:28 UTC)

Use a cache to avoid calls to the cuDNN algorithm selection routines.

 dlib/cuda/cudnn_dlibapi.cpp | 50 +++++++++++++++++++++++++++------------------
 dlib/cuda/cudnn_dlibapi.h   |  2 --
 2 files changed, 30 insertions(+), 22 deletions(-)

Revision: 8910445a7af9f60639c2
Author: Davis King
Date: Aug 07, 2020 (11:40:46 UTC)

fix some spelling and grammar errors

 dlib/algs.h                                                | 2 +-
 dlib/bigint/bigint_kernel_abstract.h                       | 2 +-
 dlib/disjoint_subsets/disjoint_subsets_sized_abstract.h    | 2 +-
 dlib/gui_core/gui_core_kernel_abstract.h                   | 2 +-
 dlib/gui_widgets/base_widgets.cpp                          | 2 +-
 dlib/gui_widgets/widgets.h                                 | 2 +-
 dlib/image_keypoint/binned_vector_feature_image_abstract.h | 2 +-
 dlib/image_transforms/interpolation_abstract.h             | 6 +++---
 dlib/lsh/create_random_projection_hash_abstract.h          | 4 ++--
 dlib/statistics/statistics_abstract.h                      | 2 +-
 dlib/svm/structural_svm_distributed_abstract.h             | 2 +-
 dlib/svm/structural_svm_problem_abstract.h                 | 2 +-
 tools/htmlify/to_xml.cpp                                   | 2 +-
 tools/python/src/image2.cpp                                | 8 ++++----
 14 files changed, 20 insertions(+), 20 deletions(-)

Revision: 4721075314e8ed9e342f
Author: Davis King
Date: Aug 07, 2020 (05:57:12 UTC)

More optimization unit tests

 dlib/test/optimization.cpp | 12 +++++++++++-
 1 file changed, 11 insertions(+), 1 deletion(-)

Revision: a9d554a4ac91760a8236
Author: Davis King
Date: Aug 05, 2020 (04:13:58 UTC)

minor cleanup

 dlib/image_loader/png_loader.cpp | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

Revision: ff3023f26618ed7a393d
Author: yuriio
Date: Aug 05, 2020 (18:11:46 UTC)

Added possibility to load PNG images from a data buffer. (#2137)

 dlib/image_loader/png_loader.cpp        | 157 +++++++++++++++++++++++++-------
 dlib/image_loader/png_loader.h          |  32 ++++++-
 dlib/image_loader/png_loader_abstract.h |  45 +++++++++
 3 files changed, 198 insertions(+), 36 deletions(-)

Revision: 7b564927d67775e25da9
Author: Davis King
Date: Aug 01, 2020 (09:48:30 UTC)

Switching to what is hopefully a better fix for the following CUDA error

 dlib/CMakeLists.txt    | 8 --------
 dlib/cuda/cuda_dlib.cu | 4 ++--
 2 files changed, 2 insertions(+), 10 deletions(-)

Revision: f8cfe63904bd06b07f52
Author: Davis King
Date: Aug 01, 2020 (09:45:38 UTC)

Avoid unnecessairly asking cuDNN which algorithms to use, since this is slow in cuDNN 8.0

 dlib/cuda/cudnn_dlibapi.cpp | 31 ++++++++++++++++++++++---------
 dlib/cuda/cudnn_dlibapi.h   |  2 ++
 2 files changed, 24 insertions(+), 9 deletions(-)

Revision: 6c3243f766494da7003c
Author: Davis King
Date: Aug 01, 2020 (09:33:39 UTC)

Cleanup cuDNN conv algorithm selection code slightly by moving it into its own function.

 dlib/cuda/cudnn_dlibapi.cpp | 248 ++++++++++++++++++++++++--------------------
 dlib/cuda/cudnn_dlibapi.h   |   2 +
 2 files changed, 135 insertions(+), 115 deletions(-)

Revision: 4d18e0d0c751cfe75d39
Author: Davis King
Date: Jul 26, 2020 (11:13:20 UTC)

oops, fixing a weird typo

 dlib/global_optimization/find_max_global.h          | 2 +-
 dlib/global_optimization/find_max_global_abstract.h | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

Revision: 3400e163e8bdcafed3e1
Author: Davis King
Date: Jul 26, 2020 (08:42:50 UTC)

tweaked cca test thresholds to avoid false positives

 dlib/test/cca.cpp | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

Revision: 943408d2d20b5e548163
Author: Davis King
Date: Jul 26, 2020 (08:18:47 UTC)

Allow forwarding initial function evaluations into find_max_global()

 dlib/global_optimization/find_max_global.h         | 215 +++++++++++++--------
 .../global_optimization/find_max_global_abstract.h | 204 ++++++++++++-------
 dlib/test/global_optimization.cpp                  |   5 +
 3 files changed, 268 insertions(+), 156 deletions(-)

Revision: 5a80ca9e5f8fea37b0cc
Author: Davis King
Date: Jul 24, 2020 (19:50:22 UTC)

Apply --expt-relaxed-constexpr to all older versions of cuda.

 dlib/CMakeLists.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Revision: 5650ce45a14cc08d5c15
Author: jbfove
Date: Jul 22, 2020 (28:07:49 UTC)

Fix restoration of MSVC warnings in public headers (#2135)

 dlib/geometry/vector.h | 6 ++++--
 dlib/matrix/matrix.h   | 8 ++++----
 2 files changed, 8 insertions(+), 6 deletions(-)

Revision: 23b9abd07a56f9fef560
Author: Davis King
Date: Jul 11, 2020 (17:07:36 UTC)

Switch cuda target architecture from sm_30 to sm_50. I.e. Maxwell instead of Kepler.

 dlib/CMakeLists.txt                            | 2 +-
 dlib/cmake_utils/test_for_cuda/CMakeLists.txt  | 2 +-
 dlib/cmake_utils/test_for_cudnn/CMakeLists.txt | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

Revision: a2498dc47c8c341e2bf7
Author: stoperro
Date: Jun 28, 2020 (19:35:15 UTC)

Additional documentation for failed dlib::layer<> use. (#2118)

 dlib/dnn/core.h | 3 +++
 1 file changed, 3 insertions(+)

Revision: 71b303d883f6cea37d25
Author: Davis King
Date: Jun 27, 2020 (16:08:39 UTC)

Improve the error a user gets when trying to build the pyhton extention on windows but they didn't install visual C++.

 tools/python/CMakeLists.txt | 11 +++++++++++
 1 file changed, 11 insertions(+)

Revision: b9f4da5522a0d824c606
Author: Davis King
Date: Jun 21, 2020 (04:48:02 UTC)

Make cuDNN test project failure print a message saying exactly why it failed.

 dlib/CMakeLists.txt | 16 ++++++++++++----
 1 file changed, 12 insertions(+), 4 deletions(-)

Revision: facefa02044a396ffd69
Author: Davis King
Date: Jun 20, 2020 (10:44:30 UTC)

Fix random foreset regression not doing quite the right thing.

 dlib/random_forest/random_forest_regression.h | 13 +++++++------
 dlib/test/random_forest.cpp                   | 18 +++++++++++++-----
 2 files changed, 20 insertions(+), 11 deletions(-)

Revision: fe803b566f0efc9317bb
Author: Davis King
Date: Jun 20, 2020 (05:43:17 UTC)

add support for cudnn 8.0

 dlib/cuda/cudnn_dlibapi.cpp | 85 +++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 85 insertions(+)

Revision: f8887d8cbbc1739fe117
Author: Davis King
Date: Jun 17, 2020 (17:29:10 UTC)

fix paths

 tools/python/dlib/__init__.py.in | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Revision: 2a3cb83afc370b48a372
Author: Davis King
Date: Jun 17, 2020 (16:17:10 UTC)

Make dlib/__init__.py know the paths to cuda that cmake used. Use those paths instead of relying on CUDA_PATH to be set.

 tools/python/CMakeLists.txt      |  1 +
 tools/python/dlib/__init__.py    | 13 -------------
 tools/python/dlib/__init__.py.in | 20 ++++++++++++++++++++
 3 files changed, 21 insertions(+), 13 deletions(-)

Revision: 1515adc74461973170ec
Author: Davis King
Date: Jun 10, 2020 (04:19:59 UTC)

work around a bug in nvcc

 dlib/CMakeLists.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Revision: 7fe355e0ec3da0740c9a
Author: Davis King
Date: Jun 07, 2020 (12:59:40 UTC)

Oops, put import statements after path adjustment

 tools/python/dlib/__init__.py | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

Revision: 7fcb6c285d2ef6d91f37
Author: Davis King
Date: Jun 07, 2020 (12:42:44 UTC)

Add an __init__.py file so we can add paths to CUDA libs on windows.

 tools/python/CMakeLists.txt   |  6 ++----
 tools/python/dlib/__init__.py | 11 +++++++++++
 tools/python/src/dlib.cpp     |  2 +-
 3 files changed, 14 insertions(+), 5 deletions(-)

Revision: 53b6ea3bf5d30b891c51
Author: Davis King
Date: Jun 06, 2020 (10:58:34 UTC)

Record last changeset and set PATCH version to 99

 dlib/CMakeLists.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Revision: 5612caa16937b5b81eb2
Author: Davis King
Date: Jun 06, 2020 (10:53:52 UTC)

Created release v19.20

 dlib/CMakeLists.txt | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)