Created release v19.20
dlib/CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
minor cleanup
dlib/image_transforms/interpolation.h | 16 ++++++---------- dlib/image_transforms/interpolation_abstract.h | 4 ++-- 2 files changed, 8 insertions(+), 12 deletions(-)
Corrected interpolate_bilinear for lab_pixel. (#2091)
dlib/image_processing/generic_image.h | 10 + dlib/image_transforms/interpolation.h | 176 ++++------------- dlib/image_transforms/interpolation_abstract.h | 6 +- dlib/pixel.h | 33 +++- dlib/test/image.cpp | 256 +++++++++++++++++++++++++ dlib/test/serialize.cpp | 22 --- 6 files changed, 338 insertions(+), 165 deletions(-)
fix build errors in cuda 10.2
dlib/CMakeLists.txt | 7 +++++++ 1 file changed, 7 insertions(+)
Minor optimization: add shortcut to in-place image resize if size_scale is 1 (#2076)
dlib/image_transforms/interpolation.h | 2 +- dlib/image_transforms/interpolation_abstract.h | 1 + 2 files changed, 2 insertions(+), 1 deletion(-)
fix receptive field comment (#2070)
examples/dnn_mmod_ex.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Update dnn_introduction_ex.cpp (#2066)
examples/dnn_introduction_ex.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-)
fix typo in comment
dlib/statistics/lda.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Reduce code duplication a bit and make equal_error_rate() give correct results when called on data where all detection scores are identical.
dlib/statistics/lda.h | 87 +++++++++++++++++++++++------------------------- dlib/test/statistics.cpp | 35 +++++++++++++++++++ 2 files changed, 76 insertions(+), 46 deletions(-)
A little bit of cleanup
dlib/cuda/cuda_dlib.h | 12 ++++++++---- dlib/test/dnn.cpp | 2 +- 2 files changed, 9 insertions(+), 5 deletions(-)
Add cuda implementation for loss_mean_squared_per_channel_and_pixel (#2053)
dlib/cuda/cpu_dlib.h | 51 ++++++++++++++++++++++++++++++++++++++ dlib/cuda/cuda_dlib.cu | 37 ++++++++++++++++++++++++++++ dlib/cuda/cuda_dlib.h | 64 ++++++++++++++++++++++++++++++++++++++++++++++++ dlib/dnn/loss.h | 38 ++++++++++------------------ dlib/dnn/loss_abstract.h | 6 +++-- dlib/test/dnn.cpp | 14 ++++++++++- 6 files changed, 182 insertions(+), 28 deletions(-)
Fix DLIB_ISO_CPP_ONLY not working
dlib/CMakeLists.txt | 10 +++++----- dlib/all/source.cpp | 10 +++++----- 2 files changed, 10 insertions(+), 10 deletions(-)
fix example cmake script
examples/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Fix warning in dnn_trainer initialization list (#2049)
dlib/dnn/trainer.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Remove outdated comment from DCGAN example (#2048)
examples/dnn_dcgan_train_ex.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-)
disable in source builds
dlib/CMakeLists.txt | 3 +++ 1 file changed, 3 insertions(+)
Fix warnings while running the tests (#2046)
dlib/dnn/layers.h | 84 ++++++++++++------------- dlib/test/dnn.cpp | 4 +- dlib/test/is_same_object.cpp | 10 +-- dlib/threads/async.h | 2 +- examples/dnn_dcgan_train_ex.cpp | 2 +- examples/dnn_instance_segmentation_train_ex.cpp | 4 +- examples/dnn_introduction3_ex.cpp | 2 +- 7 files changed, 54 insertions(+), 54 deletions(-)
remove branch from cuda kernel (#2045)
dlib/cuda/cuda_dlib.cu | 51 ++++++++++++++++++++++++++------------------------ 1 file changed, 27 insertions(+), 24 deletions(-)
use running stats to track losses (#2041)
examples/dnn_dcgan_train_ex.cpp | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-)
Promote some of the sub-network methods into the add_loss_layer interface so users don't have to write .subnet() so often.
dlib/dnn/core.h | 21 +++++++++ dlib/dnn/core_abstract.h | 99 ++++++++++++++++++++++++++++++++++++++++- examples/dnn_dcgan_train_ex.cpp | 26 +++++------ 3 files changed, 130 insertions(+), 16 deletions(-)
make update_parameters() a little more uniform
dlib/dnn/core.h | 38 +++++++++++++++++++++++++++++++++++++- dlib/dnn/core_abstract.h | 14 ++++++++++++++ 2 files changed, 51 insertions(+), 1 deletion(-)
Fix Use of C++17 deprecated feature: std::iterator #2036
dlib/matrix/matrix_exp.h | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-)
Add DCGAN example (#2035)
dlib/dnn/core.h | 6 + dlib/dnn/layers_abstract.h | 4 +- examples/CMakeLists.txt | 1 + examples/dnn_dcgan_train_ex.cpp | 270 ++++++++++++++++++++++++++++++++++++++++ 4 files changed, 280 insertions(+), 1 deletion(-)
add leaky_relu activation layer (#2033)
dlib/cuda/cpu_dlib.cpp | 51 ++++++++++++++++++++++++++++++ dlib/cuda/cpu_dlib.h | 15 +++++++++ dlib/cuda/cuda_dlib.cu | 68 ++++++++++++++++++++++++++++++++++++++++ dlib/cuda/cuda_dlib.h | 15 +++++++++ dlib/cuda/tensor_tools.cpp | 29 +++++++++++++++++ dlib/cuda/tensor_tools.h | 39 +++++++++++++++++++++++ dlib/dnn/layers.h | 78 ++++++++++++++++++++++++++++++++++++++++++++++ dlib/dnn/layers_abstract.h | 49 +++++++++++++++++++++++++++++ dlib/test/dnn.cpp | 33 ++++++++++++++++++++ 9 files changed, 377 insertions(+)
To avoid a GPU memory leak, allow passing thread pools to dnn_trainer from outside (#2027)
dlib/dnn/trainer.h | 18 ++++++++++++++---- dlib/dnn/trainer_abstract.h | 18 +++++++++++++++++- 2 files changed, 31 insertions(+), 5 deletions(-)
link against openblasp (#2028)
dlib/cmake_utils/find_blas.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
add loss multiclass log weighted (#2022)
dlib/dnn/loss.h | 149 ++++++++++++++++++++++++++++++++++++++++++----- dlib/dnn/loss_abstract.h | 123 +++++++++++++++++++++++++++++++------- dlib/test/dnn.cpp | 81 ++++++++++++++++++++++++++ 3 files changed, 318 insertions(+), 35 deletions(-)
Integer conversions generating compiler warnings (#2024)
dlib/http_client/http_client.cpp | 4 ++-- dlib/linker/linker_kernel_1.cpp | 4 ++-- dlib/md5/md5_kernel_1.cpp | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-)
Replace result_of by invoke_result for C++17 and above (#2021)
dlib/threads/async.h | 23 ++++++++++++++++++----- 1 file changed, 18 insertions(+), 5 deletions(-)
effect -> affect (#2019)
dlib/dnn/layers_abstract.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
removed inappropriate assert
dlib/cuda/tensor_tools.cpp | 1 - dlib/test/dnn.cpp | 14 ++++++++++++++ 2 files changed, 14 insertions(+), 1 deletion(-)
Prevention of compiler warning (#2015)
dlib/serialize.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
simplify resnet definition by reusing struct template parameter (#2010)
examples/dnn_introduction3_ex.cpp | 4 +- examples/resnet.h | 191 +++++++++++++++++++------------------- 2 files changed, 100 insertions(+), 95 deletions(-)
increment imglab version
tools/imglab/src/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
A little bit of cleanup and docs. Also added missing mutex lock.
dlib/gui_widgets/widgets.cpp | 2 ++ dlib/gui_widgets/widgets_abstract.h | 14 ++++++++++++++ tools/imglab/src/cluster.cpp | 33 +++++++++++++++------------------ 3 files changed, 31 insertions(+), 18 deletions(-)
imglab: chinese ("automatic") clustering, keyboard shortcuts for zooming (#2007)
dlib/gui_widgets/widgets.cpp | 54 ++++++++++++++++++++------------ dlib/gui_widgets/widgets.h | 6 ++++ tools/imglab/src/cluster.cpp | 60 ++++++++++++++++++++++++++++++++++-- tools/imglab/src/main.cpp | 4 +-- tools/imglab/src/metadata_editor.cpp | 10 ++++++ 5 files changed, 111 insertions(+), 23 deletions(-)
A little bit of cleanup
dlib/dnn/core_abstract.h | 4 ++-- dlib/dnn/utilities.h | 8 +------- examples/dnn_introduction3_ex.cpp | 8 +------- 3 files changed, 4 insertions(+), 16 deletions(-)
Add dnn_introduction3_ex (#1991)
dlib/dnn/core.h | 120 +++++++++++++++++++++++++++ dlib/dnn/core_abstract.h | 92 ++++++++++++++++++++- dlib/dnn/utilities.h | 60 +++++++++++++- dlib/dnn/utilities_abstract.h | 36 ++++++++ examples/CMakeLists.txt | 1 + examples/dnn_introduction3_ex.cpp | 169 ++++++++++++++++++++++++++++++++++++++ examples/resnet.h | 101 +++++++++++++++++++++++ 7 files changed, 577 insertions(+), 2 deletions(-)
Remove unit tests for python 2.7 since that version of pyhton is dead, and the unit test servers don't even support it anymore.
dlib/appveyor/python.yml | 2 -- 1 file changed, 2 deletions(-)
Fixed code needing C++14 to use C++11 features instead.
dlib/image_transforms/interpolation.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
If nearest-neighbor interpolation is wanted, then don't use an image pyramid. (#1986)
dlib/image_transforms/interpolation.h | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-)
fix spelling errors (#1985)
dlib/algs.h | 2 +- dlib/cmd_line_parser/cmd_line_parser_kernel_abstract.h | 2 +- dlib/external/libpng/png.c | 2 +- dlib/external/libpng/png.h | 4 ++-- dlib/external/libpng/pngrutil.c | 4 ++-- dlib/external/libpng/pngwutil.c | 2 +- dlib/queue/queue_kernel_1.h | 2 +- tools/htmlify/htmlify.cpp | 4 ++-- 8 files changed, 11 insertions(+), 11 deletions(-)
Do not link to libnsl (#1987)
dlib/CMakeLists.txt | 6 ------ 1 file changed, 6 deletions(-)
Add little test
dlib/test/cublas.cpp | 5 +++++ 1 file changed, 5 insertions(+)
remove unused variables
dlib/test/dnn.cpp | 2 -- 1 file changed, 2 deletions(-)
Make copying non-const cuda_data_ptrs to const ones nicer.
dlib/cuda/cuda_data_ptr.h | 13 +++++++++++++ 1 file changed, 13 insertions(+)
Add new loss layer for binary loss per pixel (#1976)
dlib/cuda/cuda_dlib.cu | 77 ++++++++- dlib/cuda/cuda_dlib.h | 74 ++++++++- dlib/dnn/loss.h | 158 +++++++++++++++++++ dlib/dnn/loss_abstract.h | 62 ++++++++ dlib/test/dnn.cpp | 199 ++++++++++++++++++++++++ examples/dnn_instance_segmentation_ex.cpp | 44 ++++-- examples/dnn_instance_segmentation_ex.h | 12 +- examples/dnn_instance_segmentation_train_ex.cpp | 14 +- 8 files changed, 599 insertions(+), 41 deletions(-)
Added static_pointer_cast() for casting cuda_data_void_ptr to cuda_data_ptr<T>. Also moved some memcpy() functions to namespace scope so that calling them like dlib::cuda::memcpy() can referene them. It was slightly annoting before.
dlib/cuda/cuda_data_ptr.h | 143 ++++++++++++++++++++++++++++++++++------------ 1 file changed, 106 insertions(+), 37 deletions(-)
fix code not compiling with some versions of libjpeg as a result of the change I just made.
dlib/image_loader/jpeg_loader.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Fixed const correctness on the in-memory jpeg loading code.
dlib/image_loader/jpeg_loader.cpp | 4 ++-- dlib/image_loader/jpeg_loader.h | 19 ++++++++++++++++--- dlib/image_loader/jpeg_loader_abstract.h | 20 ++++++++++++++++++-- 3 files changed, 36 insertions(+), 7 deletions(-)
tweaked docs
dlib/dnn/utilities_abstract.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
add visitor to count net parameters (#1977)
dlib/dnn/utilities.h | 29 +++++++++++++++++++++++++++++ dlib/dnn/utilities_abstract.h | 14 ++++++++++++++ 2 files changed, 43 insertions(+)
Minor fix: print to console only if the verbose flag is on (#1980)
dlib/dnn/trainer.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)
omg, github, cleanup merge stuff
dlib/test/dnn.cpp | 6 ------ 1 file changed, 6 deletions(-)
Added test for Mish
dlib/test/dnn.cpp | 6 ++++++ 1 file changed, 6 insertions(+)
Adding Mish activation function
dlib/cuda/cpu_dlib.cpp | 52 +++++++++++++++++++++++++++++++++ dlib/cuda/cpu_dlib.h | 13 +++++++++ dlib/cuda/cuda_dlib.cu | 57 ++++++++++++++++++++++++++++++++++++ dlib/cuda/cuda_dlib.h | 12 ++++++++ dlib/cuda/tensor_tools.cpp | 27 +++++++++++++++++ dlib/cuda/tensor_tools.h | 34 +++++++++++++++++++++ dlib/dnn/layers.h | 73 ++++++++++++++++++++++++++++++++++++++++++++++ dlib/dnn/layers_abstract.h | 35 ++++++++++++++++++++++ dlib/test/dnn.cpp | 35 +++++++++++++++++++++- 9 files changed, 337 insertions(+), 1 deletion(-)
fixed failing tests due to recent default change in solver stopping criteria
dlib/test/ranking.cpp | 2 +- dlib/test/svm_c_linear_dcd.cpp | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-)
fixed test failure
dlib/test/svm_c_linear_dcd.cpp | 3 +++ 1 file changed, 3 insertions(+)
adjusted eps so tests still pass
dlib/test/ranking.cpp | 1 + dlib/test/svm_c_linear_dcd.cpp | 1 + 2 files changed, 2 insertions(+)
fixed test not building due to the commit I just made
dlib/test/oca.cpp | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-)
Added a relative epsilon termination option to svm_c_linear_trainer
dlib/svm/svm_c_linear_trainer.h | 46 +++++++++++++++++++++++--------- dlib/svm/svm_c_linear_trainer_abstract.h | 30 +++++++++++++++++++++ 2 files changed, 63 insertions(+), 13 deletions(-)
Always check that the data give to cross_validate_trainer() is valid. It's a cheap check, and easy for someone to forget about otherwise.
dlib/svm/svm.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Fixed function_evaluation_request::set() invalidating function_evaluation_request::x()
dlib/global_optimization/global_function_search.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
updated docs
dlib/dnn/loss_abstract.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
Remove pca comment from vector_normalizer documentation (#1965)
dlib/statistics/statistics_abstract.h | 4 ---- 1 file changed, 4 deletions(-)
Fix error for opencv 3.4.9+ over IplImage (#1949) (#1963)
dlib/opencv/cv_image.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Add sanity check (#1964)
dlib/dnn/trainer.h | 4 ++++ 1 file changed, 4 insertions(+)
fixed check range to match the comment
dlib/cuda/gpu_data.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Even the newest CUDA runtime has a buggy cudaStreamSynchronize.
dlib/cuda/gpu_data.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-)
fixed spelling error
dlib/filtering/rls_filter_abstract.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
fix formatting
dlib/opencv/cv_image.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
cleanup cv_image code. This also fixes a build error with the very latest version of OpenCV.
dlib/opencv/cv_image.h | 30 +------------------ dlib/opencv/cv_image_abstract.h | 64 ----------------------------------------- 2 files changed, 1 insertion(+), 93 deletions(-)
Fix opencv version check to work on all opencv versions
dlib/opencv/cv_image.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-)
Update to work with latest version of OpenCV
dlib/opencv/cv_image.h | 4 ++++ 1 file changed, 4 insertions(+)
Record last changeset and set PATCH version to 99
dlib/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Created release v19.19
dlib/CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)