Change Log
Revision: 9121e039950df935
Author: Davis King
Date: Aug 27, 2017 (15:34:24 UTC)

Created release v19.5

Modified
dlib/CMakeLists.txt

Revision: b2cc8f1da3f778d7
Author: Davis King
Date: Aug 27, 2017 (15:13:46 UTC)

Set this file to executable

Modified
python_examples/cnn_face_detector.py

Revision: 96e8daf12f37b8eb
Author: Guillaume Ramé
Date: Aug 27, 2017 (24:40:31 UTC)

improvements to cnn face detection python interface (#780) * improvements to cnn face detection interface * mmod rectangle object renaming. possibility to set batch size in multi image detection. Added check to make sure images are all the same size.

Modified
dlib/image_processing/full_object_detection.h
python_examples/cnn_face_detector.py
tools/python/src/cnn_face_detector.cpp

Revision: e7708c5dd4bc4d29
Author: Davis King
Date: Aug 27, 2017 (14:18:00 UTC)

Minor cleanup

Modified
examples/dnn_mmod_find_cars_ex.cpp

Revision: c7d818690882a448
Author: Davis King
Date: Aug 27, 2017 (08:01:24 UTC)

Yet more comments

Modified
examples/dnn_mmod_ex.cpp
examples/dnn_mmod_train_find_cars_ex.cpp

Revision: a245be12cb44c533
Author: Davis King
Date: Aug 27, 2017 (06:46:49 UTC)

cleanup

Modified
examples/dnn_mmod_find_cars_ex.cpp

Revision: 00deb336c1cb6422
Author: Davis King
Date: Aug 27, 2017 (05:23:57 UTC)

Fixed compiler warning

Modified
examples/dnn_mmod_find_cars_ex.cpp

Revision: df39ce20e7971294
Author: Davis King
Date: Aug 27, 2017 (05:23:49 UTC)

Fixed compiler warnings

Modified
dlib/image_transforms/image_pyramid.h
dlib/image_transforms/interpolation.h

Revision: 5e2a0b81bafb45f2
Author: Davis King
Date: Aug 27, 2017 (05:17:05 UTC)

Added youtube links

Modified
examples/dnn_mmod_find_cars_ex.cpp

Revision: 3a9d5d4742ad6ad8
Author: Davis King
Date: Aug 27, 2017 (05:11:49 UTC)

More comments

Modified
examples/dnn_mmod_find_cars_ex.cpp
examples/dnn_mmod_train_find_cars_ex.cpp

Revision: bcf2eccb2563b3d9
Author: Davis King
Date: Aug 27, 2017 (04:29:36 UTC)

Added more comments

Modified
examples/dnn_mmod_train_find_cars_ex.cpp

Revision: 3db195f39ddebe05
Author: Davis King
Date: Aug 27, 2017 (03:31:50 UTC)

Cleanup

Modified
examples/dnn_mmod_train_find_cars_ex.cpp

Revision: 36f354fb6bba6236
Author: Davis King
Date: Aug 27, 2017 (03:31:38 UTC)

Gave upsample_image_dataset() an option to limit upsampling on really large images.

Modified
dlib/image_transforms/interpolation.h
dlib/image_transforms/interpolation_abstract.h

Revision: ff289ff45018c550
Author: Davis King
Date: Aug 26, 2017 (13:13:47 UTC)

Added two vehicle detection examples.

Modified
examples/CMakeLists.txt
Added
examples/dnn_mmod_find_cars_ex.cpp
examples/dnn_mmod_train_find_cars_ex.cpp
examples/mmod_cars_test_image.jpg

Revision: 9bc47990f9eea691
Author: Davis King
Date: Aug 26, 2017 (04:49:19 UTC)

Added a version of resize_image() that works inplace.

Modified
dlib/image_transforms/interpolation.h
dlib/image_transforms/interpolation_abstract.h

Revision: 01340662b0e82203
Author: Davis King
Date: Aug 26, 2017 (04:39:18 UTC)

Added overloads of max_pointwise() and min_pointwise() that take 3 arguments.

Modified
dlib/matrix/matrix_utilities.h
dlib/matrix/matrix_utilities_abstract.h

Revision: f723ce2ef3c754bc
Author: Davis King
Date: Aug 25, 2017 (18:29:40 UTC)

Made imglab --cluster ignore ignored boxes when doing all aspects of clustering.

Modified
tools/imglab/src/cluster.cpp

Revision: 1f57c3504835dfba
Author: Davis King
Date: Aug 25, 2017 (18:01:02 UTC)

Added options to input_rgb_image_pyramid that let the user set create_tiled_pyramid()'s padding parameters. Also changed the default outer border padding from 0 to 11. This effects even previously trained models. So any model that doesn't explicitly set the outer patting to something else will have a padding of 11. This should be a more reasonable value for most networks.

Modified
dlib/dnn/input.h
dlib/dnn/input_abstract.h

Revision: 6a9b82d06a3afec8
Author: Davis King
Date: Aug 25, 2017 (16:35:47 UTC)

Gave create_tiled_pyramid() the ability to include padding around the outsides of the pyramid image.

Modified
dlib/image_transforms/image_pyramid.h
dlib/image_transforms/image_pyramid_abstract.h

Revision: 6418906f383c6b60
Author: Davis King
Date: Aug 25, 2017 (14:38:40 UTC)

Changed the functions that transform between input tensor coordinates and output tensor coordinates to use dpoint instead of point. This way, we can obtain sub-pixel coordinates if we need them.

Modified
dlib/dnn/layers.h
dlib/dnn/layers_abstract.h
dlib/dnn/utilities.h
dlib/dnn/utilities_abstract.h

Revision: f19f8301f63d9f18
Author: Davis King
Date: Aug 25, 2017 (14:21:35 UTC)

Made resize_image() and functions that use it like the pyramid objects produce better results when run on float and double images. There was needless rounding to integers happening in the bilinear interpolation. Now if you work with a float image the entire process will run without integer rounding.

Modified
dlib/image_transforms/interpolation.h

Revision: 3eae6bb90b2bc710
Author: Davis King
Date: Aug 25, 2017 (14:20:17 UTC)

Clarified spec

Modified
dlib/image_transforms/colormaps_abstract.h

Revision: 1cf38f0c65c0a297
Author: Davis King
Date: Aug 25, 2017 (08:59:55 UTC)

Clarified spec

Modified
dlib/image_transforms/colormaps_abstract.h

Revision: e983c3baaffffb82
Author: Deniz Evrenci
Date: Aug 25, 2017 (27:40:22 UTC)

C++11 features (#778) * Make noncopyable constructor and destructor default C++11 provides the functionality. Defining empty functions cause all classes derived from noncopyable to be non-trivially constructible and non-trivially destructible. For example, matrix with compile-time layout by definition does not require an explicit destructor and should be trivially destructible ; however, deriving from noncopyable makes it non-trivially destrutible. This also affects vector<T, 2> and vector<T, 3>. * Delete array2d copy constructor and assignment operators

Modified
dlib/array2d/array2d_kernel.h
dlib/array2d/array2d_kernel_abstract.h
dlib/noncopyable.h

Revision: 8a4db312e35c76ba
Author: Deniz Evrenci
Date: Aug 25, 2017 (27:39:07 UTC)

Include drectangle.h to point_transforms.h (#777)

Modified
dlib/geometry/point_transforms.h

Revision: 7c97ae6e8fb6ccb2
Author: Davis King
Date: Aug 24, 2017 (15:42:22 UTC)

Fixed grammar

Modified
dlib/dnn/layers_abstract.h

Revision: 37cc31f07f19f574
Author: Davis King
Date: Aug 24, 2017 (15:24:28 UTC)

Fixed spelling error in comment.

Modified
dlib/dnn/cuda_data_ptr.h

Revision: ed7d1cd9986c67b1
Author: Davis King
Date: Aug 24, 2017 (14:41:07 UTC)

Fully qualified boost::python::list to hopefully avoid compiler errors in some environments.

Modified
tools/python/src/other.cpp

Revision: c99fbc13def29190
Author: Evgeniy Fominov
Date: Aug 24, 2017 (18:12:31 UTC)

Clang support for windows (#772)

Modified
dlib/CMakeLists.txt
dlib/cmake_utils/use_cpp_11.cmake

Revision: 012387c880b9cb3e
Author: ipeterson
Date: Aug 23, 2017 (11:33:52 UTC)

Pull in external libpng dependencies properly (#770) PNG_LIBRARY set by libpng's FindPNG.cmake does not contain zlib dependancy. This causes the CHECK_FUNCTION_EXISTS(png_create_read_struct LIBPNG_IS_GOOD) to fail with liner errors, and for dlib to use it's internal copy of PNG. Updated to use libpng's PNG_LIBRARIES variable. This also sets both PNG and ZLib libraries in dlib_needed_libraries.

Modified
dlib/CMakeLists.txt

Revision: 68e4d543c0bc3316
Author: Davis King
Date: Aug 22, 2017 (18:02:19 UTC)

Fixed grammar

Modified
dlib/smart_pointers.h

Revision: b5e05441d5e718fc
Author: Davis King
Date: Aug 21, 2017 (17:32:36 UTC)

Fixed incorrect size() for simd8i.

Modified
dlib/simd/simd8i.h

Revision: 44466b8bccd7eab7
Author: Davis King
Date: Aug 21, 2017 (17:27:38 UTC)

Made windows testing bat file use rmdir rather than rm since rm isn't always available on windows.

Modified
dlib/test/WINDOWS_build_and_run_all_unit_tests.bat

Revision: 28cdb9ba38ab7fe1
Author: Davis King
Date: Aug 21, 2017 (17:27:12 UTC)

Fixed linker errors when building pyhton on windows. This fixes a bug that was introduced in a recent PR. Also fixed compiler errors that occurred in visual studio.

Modified
dlib/cmake_utils/add_python_module
dlib/python/numpy.h
dlib/python/serialize_pickle.h

Revision: 94fc5255cebe509f
Author: Davis King
Date: Aug 21, 2017 (15:35:42 UTC)

Fixed warning in visual studio.

Modified
dlib/dnn/tensor.h

Revision: 692a89abe25d650f
Author: Davis King
Date: Aug 20, 2017 (16:47:00 UTC)

Made the test loss in the verbose output messages from the dnn_trainer not jump in variance when the learning rate resets.

Modified
dlib/dnn/trainer.h

Revision: 4fd8c1322933d0f1
Author: Davis King
Date: Aug 20, 2017 (16:39:44 UTC)

Added serialization support for the running_stats_decayed object.

Modified
dlib/statistics/statistics.h
dlib/statistics/statistics_abstract.h

Revision: b2b9c59b46a25782
Author: Davis King
Date: Aug 20, 2017 (16:08:03 UTC)

Made the loss value management a little more conservative.

Modified
dlib/dnn/trainer.h

Revision: c3db550a43997eaf
Author: Davis King
Date: Aug 20, 2017 (15:42:12 UTC)

Made the input_tensor_to_output_tensor() and output_tensor_to_input_tensor() coordinate mappings work on networks that contain skip layers.

Modified
dlib/dnn/utilities.h
dlib/dnn/utilities_abstract.h

Revision: 4be725b8b96defea
Author: Davis King
Date: Aug 20, 2017 (15:30:11 UTC)

Changed the default get_test_iterations_without_progress_threshold() from 200 to 500. Now that we have a better history management of loss values in the trainer it's much more sensible to have a larger value here.

Modified
dlib/dnn/trainer.h
dlib/dnn/trainer_abstract.h

Revision: 4ce6f4a3e766e65a
Author: Davis King
Date: Aug 20, 2017 (15:28:08 UTC)

Made the dnn_trainer not forget all the previous loss values it knows about when it determines that there have been a lot of steps without progress and shrinks the learning rate. Instead, it removes only the oldest 100. The problem with the old way of removing all the loss values in the history was that if you set the steps without progress threshold to a really high number you would often observe that the last few learning rate values were obviously not making progress, however, since all the previous loss values were forgotten the trainer needed to fully populate it's loss history from scratch before it would figure this out. This new style makes the trainer not waste time running this excessive optimization of obviously useless mini-batches.

Modified
dlib/dnn/trainer.h

Revision: dee0369231464ef3
Author: Davis King
Date: Aug 20, 2017 (03:14:40 UTC)

The input_rgb_image_sized is supposed to be convertible to input_rgb_image, which it was in all ways except you couldn't deserialize directly like you would expect. This has now been fixed.

Modified
dlib/dnn/input.h

Revision: 935a4626e5a7650e
Author: Davis King
Date: Aug 19, 2017 (04:48:48 UTC)

Make DLIB_ASSERT statements not abort the python interpreter, but just trigger an exception.

Modified
tools/python/CMakeLists.txt

Revision: 67eb90d2a5eab5f6
Author: Davis King
Date: Aug 19, 2017 (04:42:17 UTC)

Suppress compiler warning

Modified
dlib/dnn/layers.h

Revision: e8b6ec9ee3de5dc2
Author: Adam Geitgey
Date: Aug 18, 2017 (06:30:33 UTC)

Add a python wrapper for using the mmod face detector (#753)

Modified
tools/python/CMakeLists.txt
tools/python/src/dlib.cpp
Added
python_examples/cnn_face_detector.py
tools/python/src/cnn_face_detector.cpp

Revision: a5d7d71af997d1be
Author: Davis King
Date: Aug 15, 2017 (11:52:00 UTC)

Fixed spelling error

Modified
dlib/statistics/running_gradient.h

Revision: 22c842bb0ea24a87
Author: Davis King
Date: Aug 14, 2017 (10:04:16 UTC)

Updated solvers to correctly pull in cont_'s bias parameter multipliers.

Modified
dlib/dnn/solvers.h

Revision: 6fbcc1849eff3c47
Author: Davis King
Date: Aug 14, 2017 (09:50:47 UTC)

Added extract_ layer

Modified
dlib/dnn/layers.h
dlib/dnn/layers_abstract.h
dlib/test/dnn.cpp

Revision: 2735e30a69fde8ed
Author: Davis King
Date: Aug 14, 2017 (08:48:37 UTC)

Added more tests for copy_tensor()

Modified
dlib/test/dnn.cpp

Revision: 1786adb70faeead4
Author: Davis King
Date: Aug 14, 2017 (08:28:26 UTC)

Added an "add_to" option to tt:copy_tensor(). There was also a bug in the concat layer's backward() method. It was assigning the gradient to previous layers instead of adding the gradient, as required by the layer interface specification. This change also noticeably speeds up concat layers since only one CUDA kernel launch now happens per concat operation, rather than one kernel launch for each sample in a tensor.

Modified
dlib/dnn/cpu_dlib.cpp
dlib/dnn/cpu_dlib.h
dlib/dnn/cuda_dlib.cu
dlib/dnn/cuda_dlib.h
dlib/dnn/layers.h
dlib/dnn/tensor_tools.cpp
dlib/dnn/tensor_tools.h
dlib/test/dnn.cpp

Revision: 05ffcd2add434f40
Author: Davis King
Date: Aug 14, 2017 (05:52:53 UTC)

Made copy_tensor() use cudaMemcpyAsync() rather than cudaMemcpy().

Modified
dlib/dnn/cuda_dlib.cu
dlib/dnn/tensor_tools.h

Revision: 024940c678875ea6
Author: Davis King
Date: Aug 11, 2017 (13:47:19 UTC)

Added mult_prev layer.

Modified
dlib/dnn/layers.h
dlib/dnn/layers_abstract.h
dlib/test/dnn.cpp

Revision: 547865907036994d
Author: Davis King
Date: Aug 11, 2017 (12:39:00 UTC)

Added multiply_zero_padded()

Modified
dlib/dnn/cpu_dlib.cpp
dlib/dnn/cpu_dlib.h
dlib/dnn/cuda_dlib.cu
dlib/dnn/cuda_dlib.h
dlib/dnn/tensor_tools.cpp
dlib/dnn/tensor_tools.h
dlib/test/dnn.cpp

Revision: f038970afe17f4ef
Author: Davis King
Date: Aug 10, 2017 (13:05:35 UTC)

Made swig always run when you rebuild to avoid stale swig outputs.

Modified
dlib/java/cmake_swig_jni

Revision: f9108f60012e7e6e
Author: Davis King
Date: Aug 10, 2017 (12:07:42 UTC)

Added DLIB_NO_ABORT_ON_2ND_FATAL_ERROR for dlib::fatal_error as a generic switch for use in plugin environments.

Modified
dlib/error.h

Revision: e9b7a2b23d9a9219
Author: Davis King
Date: Aug 10, 2017 (12:07:12 UTC)

Fixed missing java:: qualifiers.

Modified
dlib/java/java_array.h

Revision: 885c55c71009c06a
Author: Davis King
Date: Aug 10, 2017 (11:31:02 UTC)

Removed exit call on load library failure.

Modified
dlib/java/cmake_swig_jni

Revision: 0fc640f24e8baf64
Author: Davis King
Date: Aug 10, 2017 (11:16:21 UTC)

A bit of path cleanup

Modified
dlib/java/CMakeLists.txt
dlib/java/cmake_swig_jni
dlib/java/swig_api.h

Revision: 1ff7211cc05b0422
Author: Davis King
Date: Aug 10, 2017 (10:38:41 UTC)

Added more options for controlling the install folder paths.

Modified
dlib/java/CMakeLists.txt
dlib/java/cmake_swig_jni

Revision: 7ded71367ca9d628
Author: Davis King
Date: Aug 18, 2017 (01:30:11 UTC)

Changed the random_cropper so that it samples background patches uniformly across scales regardless of the input image size. Previously, if you gave really large images or really small images it had a bias towards giving only large patches or small patches respectively.

Modified
dlib/image_transforms/random_cropper.h

Revision: 8b70bcb314ac92fc
Author: Davis King
Date: Aug 14, 2017 (17:36:18 UTC)

Fixed grammar

Modified
dlib/dnn/loss_abstract.h

Revision: 039977decba9d23f
Author: Davis King
Date: Aug 09, 2017 (17:42:29 UTC)

merged

Modified
dlib/java/cmake_swig_jni
dlib/java/swig_api.h
dlib/java/swig_test.java
dlib/matrix/matrix_blas_bindings.h
dlib/matrix/matrix_mat.h
dlib/matrix/matrix_mat_abstract.h
dlib/test/dnn.cpp
dlib/test/matrix.cpp
Added
dlib/java/java_array.h
Deleted
dlib/java/jvector.h

Revision: b2395d8b583f14d0
Author: Davis King
Date: Aug 09, 2017 (08:20:06 UTC)

merged

Modified
dlib/java/cmake_swig_jni
dlib/java/swig_api.h
dlib/java/swig_test.java
dlib/matrix/matrix_blas_bindings.h
dlib/matrix/matrix_mat.h
dlib/matrix/matrix_mat_abstract.h
dlib/test/dnn.cpp
dlib/test/matrix.cpp
Added
dlib/java/java_array.h
Deleted
dlib/java/jvector.h

Revision: 0b26f900adfc416e
Author: Davis King
Date: Aug 09, 2017 (08:19:41 UTC)

Added an object that lets you hold a copyable reference to a java array. Also renamed the objects and generally improved documentation.

Modified
dlib/java/cmake_swig_jni
dlib/java/swig_api.h
dlib/java/swig_test.java
Added
dlib/java/java_array.h
Deleted
dlib/java/jvector.h

Revision: ac06c03e5ec8fc3a
Author: Davis King
Date: Aug 08, 2017 (11:10:17 UTC)

Added an overload of mat() that takes a row stride value.

Modified
dlib/matrix/matrix_blas_bindings.h
dlib/matrix/matrix_mat.h
dlib/matrix/matrix_mat_abstract.h
dlib/test/matrix.cpp

Revision: 88ec0c153bcd9ff9
Author: Davis King
Date: Aug 08, 2017 (11:00:38 UTC)

Relaxes test to avoid false alarms.

Modified
dlib/test/dnn.cpp

Revision: 4e84498e368b7d95
Author: Davis King
Date: Aug 09, 2017 (17:42:14 UTC)

Fixed a bug in the warning message about NMS overlap where it would sometimes false alarm.

Modified
dlib/dnn/loss.h

Revision: a3a15599f79256ed
Author: Davis King
Date: Aug 06, 2017 (07:34:07 UTC)

Added note about logging training parameters.

Modified
examples/dnn_mmod_ex.cpp

Revision: aea2c9f4a7daf579
Author: Davis King
Date: Aug 06, 2017 (04:54:10 UTC)

Changed how we print the network hash.

Modified
dlib/dnn/trainer.h

Revision: a2810bebf9f5a6bb
Author: Davis King
Date: Aug 05, 2017 (11:24:47 UTC)

Made dnn_trainer print the network size when logged to an iostream.

Modified
dlib/dnn/trainer.h

Revision: d10ac2240922c54a
Author: Davis King
Date: Aug 04, 2017 (18:46:46 UTC)

Improved how the relaxed mmod overlap settings are determined.

Modified
dlib/dnn/loss.h

Revision: 65a32f50b0c67588
Author: Davis King
Date: Aug 03, 2017 (11:55:57 UTC)

Added get_synchronization_file() and get_test_one_step_calls() to dnn_trainer. Also added an operator<< for dnn_trainer that prints the parameters it's using. These changes also break backwards compatibility with the previous serialization format for dnn_trainer objects.

Modified
dlib/dnn/trainer.h
dlib/dnn/trainer_abstract.h

Revision: a72fd3b281342ddd
Author: Davis King
Date: Aug 03, 2017 (11:47:08 UTC)

Added operator<< for the DNN solvers.

Modified
dlib/dnn/solvers.h
dlib/dnn/solvers_abstract.h

Revision: a9e364c0ef45edec
Author: Davis King
Date: Aug 03, 2017 (11:40:51 UTC)

Added operator<< for random_cropper.

Modified
dlib/image_transforms/random_cropper.h
dlib/image_transforms/random_cropper_abstract.h

Revision: f333a561d3aa649b
Author: Davis King
Date: Aug 03, 2017 (11:28:26 UTC)

Filled out the options for loss_mmod's operator<<.

Modified
dlib/dnn/loss.h

Revision: 6a1608b5d348414a
Author: Davis King
Date: Aug 03, 2017 (05:36:51 UTC)

Clarified spec

Modified
dlib/dnn/trainer_abstract.h

Revision: 6230ef7cabc2f565
Author: Davis King
Date: Aug 03, 2017 (05:14:36 UTC)

Fixed spelling error in comment.

Modified
dlib/serialize.h

Revision: c23b8fb76cd96163
Author: Davis King
Date: Jul 31, 2017 (15:49:46 UTC)

Added missing input validation to loss_mmod_. Specifically, the loss layer now checks if the user is giving truth boxes that can't be detected because the non-max suppression settings would prevent them from being output at the same time. If this happens then we print a warning message and set one of the offending boxes to "ignore".

Modified
dlib/dnn/loss.h

Revision: 2d821a1b149b262b
Author: Davis King
Date: Jul 31, 2017 (15:43:49 UTC)

Clarified spec

Modified
dlib/dnn/loss_abstract.h

Revision: 80e4c75351a5e37e
Author: Davis King
Date: Jul 30, 2017 (16:55:04 UTC)

Gave test_object_detection_function() an option to set how ignore box overlap is tested.

Modified
dlib/dnn/validation.h
dlib/svm/cross_validate_object_detection_trainer.h
dlib/svm/cross_validate_object_detection_trainer_abstract.h

Revision: 49ad8b55b00ee788
Author: ᴚ∀W∀ᴎ
Date: Jul 29, 2017 (-05:42:42 UTC)

differential std::clamp from c++17 with dlib:: prefix to clamp() (#734)

Modified
dlib/control/mpc.h
dlib/matrix/matrix_la.h
dlib/optimization/optimization.h
dlib/optimization/optimization_solve_qp_using_smo.h
dlib/test/matrix2.cpp

Revision: b4c4c47cbeb4e6f9
Author: Leo
Date: Jul 28, 2017 (09:03:41 UTC)

Fix strange dash in Box-Muller (#732)

Modified
dlib/general_hash/random_hashing.h

Revision: d9452d905bfb6ac6
Author: Davis King
Date: Jul 25, 2017 (11:42:13 UTC)

Updated cmake required version

Modified
dlib/java/cmake_swig_jni

Revision: 9a69628a43de0d97
Author: Davis King
Date: Jul 25, 2017 (11:41:30 UTC)

Added cmake scripts and some related tooling that makes it easy to call C++ code from java.

Added
dlib/java/CMakeLists.txt
dlib/java/cmake_swig_jni
dlib/java/jvector.h
dlib/java/run_test.sh
dlib/java/swig_api.h
dlib/java/swig_test.java

Revision: f1b45f1446062c59
Author: Davis King
Date: Jul 29, 2017 (01:51:59 UTC)

Minor adjustments to avoid false alarms in cca test.

Modified
dlib/test/cca.cpp

Revision: 8fc176117752ac5f
Author: Davis King
Date: Jul 24, 2017 (06:01:30 UTC)

Fixed tabbing

Modified
dlib/dnn/cpu_dlib.cpp

Revision: 11755added24a539
Author: Davis King
Date: Jul 24, 2017 (06:01:23 UTC)

Fixed grammar

Modified
examples/dnn_inception_ex.cpp

Revision: 69b6bb1130fc5fd3
Author: Davis King
Date: Jul 22, 2017 (07:41:48 UTC)

Improved errors from libpng when users link against a different version of libpng than they built against.

Modified
dlib/image_loader/png_loader.cpp

Revision: f7fbb3219aeaedc3
Author: Davis King
Date: Jul 22, 2017 (03:50:52 UTC)

Made tensor_conv hold references to the cuda_data_void_ptr work buffers in the member area of the class. This way, we avoid a potential error where the buffers are reallocated while cuDNN is still using them in the background.

Modified
dlib/dnn/cudnn_dlibapi.cpp
dlib/dnn/cudnn_dlibapi.h

Revision: d3ab7b9cda03f0de
Author: Evgeniy Fominov
Date: Jul 21, 2017 (22:37:46 UTC)

cuDNN convolution algorithms shared workspace (#695) * added shared workspace * rewrite shared workspace code * rename and device-based buffer allocation * fix cudnn_device_buffer constructors

Modified
dlib/dnn/cuda_data_ptr.h
dlib/dnn/cudnn_dlibapi.cpp
dlib/dnn/cudnn_dlibapi.h

Revision: 396b7ed0e6e08574
Author: Pavan kumar
Date: Jul 19, 2017 (23:68:28 UTC)

Just small typo (#716)

Modified
python_examples/face_recognition.py

Revision: 98605f018fd15cc1
Author: Morosko
Date: Jul 18, 2017 (17:33:27 UTC)

Make http_client compile in C++11 and above (#714) * Make http_client compile in C++11 and above * Optimize file reading

Modified
dlib/http_client/http_client.cpp

Revision: bf5bfffb2b74e0b6
Author: Davis King
Date: Jul 18, 2017 (18:19:29 UTC)

Added --sort and also the ability to propagate boxes from one image to the next using dlib::correlation_tracker.

Modified
tools/imglab/src/main.cpp
tools/imglab/src/metadata_editor.cpp

Revision: 4309baf01093704d
Author: Juha Reunanen
Date: Jul 16, 2017 (17:23:59 UTC)

Add per-pixel mean square loss (#690) * Add per-pixel mean square loss * Add documentation of loss_mean_squared_per_pixel_ * Add test case for per-pixel mean square loss: a simple autoencoder * Review fix: reorder params of function tensor_index, so that the order corresponds to the convention used in the rest of the dlib code base * Review fix: add breaks as intended, and change the rest of the test accordingly * Again a case where the tests already work locally for me, but not on AppVeyor/Travis - this commit is a blindfolded attempt to fix the problem (and it also fixes a compiler warning)

Modified
dlib/dnn/loss.h
dlib/dnn/loss_abstract.h
dlib/test/dnn.cpp

Revision: 6f82b11e5fc09b96
Author: Davis King
Date: Jul 15, 2017 (18:29:44 UTC)

Hopefully improved compiler error diagnostic when using gcc and a user misconfigures their build environment.

Added
dlib/bits/c++config.h

Revision: 89ab0bac484c0a62
Author: Joost van Amersfoort
Date: Jul 15, 2017 (03:12:00 UTC)

remove linking to libpython on linux/OSX (#703) * remove linking to libpython on linux * add OSX libpython free building * add automatic discovery of include python dir back in * make the libs non required for building on manylinux

Modified
dlib/cmake_utils/add_python_module

Revision: 05f40d904621210b
Author: Davis King
Date: Jul 11, 2017 (18:17:07 UTC)

Trying another python build test.

Modified
dlib/travis/build-and-test.sh

Revision: 401c6e1e465f059d
Author: Davis King
Date: Jul 11, 2017 (18:02:26 UTC)

Trying again...

Modified
dlib/travis/build-and-test.sh

Revision: 72d0ff9885268f8c
Author: Davis King
Date: Jul 11, 2017 (16:46:29 UTC)

Add cmake to path for travis

Modified
dlib/travis/build-and-test.sh

Revision: 8cc5d90e0f1f70bb
Author: Davis King
Date: Jul 11, 2017 (15:52:18 UTC)

More python build tests

Modified
dlib/travis/build-and-test.sh

Revision: d0841d570136ae02
Author: Davis King
Date: Jul 11, 2017 (14:12:47 UTC)

Make travis-ci build the python api

Modified
.travis.yml
dlib/travis/build-and-test.sh

Revision: fd0f8feaf3a1d09c
Author: MambaWong
Date: Jul 12, 2017 (10:11:06 UTC)

Update webcam_face_pose_ex.cpp (#702) Test on a given video like this cv::VideoCapture cap("Sample.avi") may be broken when the video frames are not enough before the main window is closed by the user.

Modified
examples/webcam_face_pose_ex.cpp

Revision: a3a3d46411f8d79d
Author: Davis King
Date: Jul 09, 2017 (08:20:21 UTC)

Fixed typo in spec.

Modified
dlib/dnn/tensor_abstract.h

Revision: 24db262ee5fa81fc
Author: Davis King
Date: Jul 08, 2017 (12:53:29 UTC)

Added Juha Reunanen serialize test case, but one with dlib:: in front and one without to make sure both types of lookup work.

Modified
dlib/test/dnn.cpp

Revision: c2b2bc909b8f2acb
Author: Davis King
Date: Jul 08, 2017 (12:50:38 UTC)

Work around funny name lookup rules for serialize() call.

Modified
dlib/dnn/core.h

Revision: 49c1d15ec8edf4bc
Author: Davis King
Date: Jul 08, 2017 (11:56:40 UTC)

Fixed name lookup problem for calls to serialize() on network objects.

Modified
dlib/dnn/core.h

Revision: 2c9e5703a0c1c0bd
Author: Davis King
Date: Jul 07, 2017 (06:42:29 UTC)

Improved error message from the svmstruct object detector.

Modified
dlib/svm/structural_svm_object_detection_problem.h

Revision: 8000a172af6d1a00
Author: Juha Reunanen
Date: Jul 07, 2017 (20:26:29 UTC)

Add new loss for weighted pixel inputs (#685) * Add new loss for weighted pixel inputs (may be useful e.g. to emphasize rare classes) * Deduplicate method loss_multiclass_log_per_pixel_(weighted_)::to_label * Add a simple test case for weighted inputs (also, fix a typo in test_tensor_resize_bilienar's name) * Add loss_multiclass_log_per_pixel_weighted_ to loss_abstract.h * Decrease the amount of weighting * There's no need to train for a very long time

Modified
dlib/dnn/loss.h
dlib/dnn/loss_abstract.h
dlib/test/dnn.cpp

Revision: 4233d5ba4a1aaad0
Author: Davis King
Date: Jul 06, 2017 (06:04:02 UTC)

Made ctrl+c detection in a mex file work more reliably in newer versions of matlab.

Modified
dlib/matlab/mex_wrapper.cpp

Revision: a7313c5603749aa2
Author: Davis King
Date: Jul 05, 2017 (08:12:43 UTC)

Renamed a few things to make the code and messages clearer.

Modified
dlib/CMakeLists.txt
dlib/cmake_utils/check_if_neon_available.cmake

Revision: 1d7f57b67c4421e3
Author: bot1131357
Date: Jul 06, 2017 (11:53:48 UTC)

Check for __ARM_NEON__ for libpng (#679) * Added check to see if __ARM_NEON__ is defined. Now we can use the following command: cmake --build --config Release .. * Rename to use_arm_neon.cmake to check_if_neon_available.cmake for clarity, minor tidying up of script, and simplifying try_compile() code for ARM NEON.

Modified
dlib/CMakeLists.txt
Added
dlib/cmake_utils/check_if_neon_available.cmake
dlib/cmake_utils/test_for_neon/CMakeLists.txt
dlib/cmake_utils/test_for_neon/neon_test.cpp

Revision: 97039314d589b354
Author: Davis King
Date: Jul 04, 2017 (09:19:41 UTC)

merged

Modified
dlib/test/dnn.cpp

Revision: 42edf220ec2b9da1
Author: Juha Reunanen
Date: Jul 03, 2017 (26:24:45 UTC)

Disable IntelliSense for all DNN unit tests (#678) * Problem: Visual Studio's vcpkgsrv.exe constantly uses a single CPU core, apparently never finishing whatever it's trying to do. Moreover, this issue prevents some operations like switching from Debug to Release (and vice versa) in the IDE. (Your mileage may vary.) Workaround: Keep manually killing the vcpkgsrv.exe process. Solution: Disable IntelliSense for some files. Which files? Unfortunately this seems to be a trial-and-error process. * Disable IntelliSense for the ResNet declarations * Disable IntelliSense for even more stuff * Disable IntelliSense for all DNN unit tests

Modified
dlib/test/dnn.cpp

Revision: e7500aaabbc0733b
Author: Davis King
Date: Jul 04, 2017 (09:14:05 UTC)

Added upsample_ layer that upsamples a tensor using bilinear interpolation.

Modified
dlib/dnn/layers.h
dlib/dnn/layers_abstract.h
dlib/test/dnn.cpp

Revision: a5d65a463f81c319
Author: Davis King
Date: Jul 04, 2017 (07:52:56 UTC)

Added tt::resize_bilinear() and tt::resize_bilinear_gradient().

Modified
dlib/dnn/cpu_dlib.cpp
dlib/dnn/cpu_dlib.h
dlib/dnn/cuda_dlib.cu
dlib/dnn/cuda_dlib.h
dlib/dnn/tensor_tools.cpp
dlib/dnn/tensor_tools.h
dlib/test/dnn.cpp

Revision: 8b157ee76aa94558
Author: Davis King
Date: Jul 04, 2017 (04:52:12 UTC)

Clarified spec slightly.

Modified
dlib/dnn/tensor_abstract.h

Revision: 5104476d6c0f726c
Author: Davis King
Date: Jul 02, 2017 (04:43:45 UTC)

Added a comment

Modified
examples/dnn_mmod_ex.cpp

Revision: 9bb59097442a3284
Author: Davis King
Date: Jul 02, 2017 (04:16:16 UTC)

Removed default argument from process_batch since it upsets older versions of gcc and I can imagine scenarios where having it leads to user errors anyway.

Modified
dlib/dnn/core.h
dlib/dnn/core_abstract.h

Revision: 70e5e7dc8d677f68
Author: Davis King
Date: Jul 01, 2017 (12:26:58 UTC)

Moved label_to_ignore into loss_multiclass_log_per_pixel_ and also cleaned up a few minor things.

Modified
dlib/dnn/loss.h
dlib/dnn/loss_abstract.h
dlib/test/dnn.cpp

Revision: fad0fb2c55eee3d2
Author: Juha Reunanen
Date: Jul 01, 2017 (26:12:34 UTC)

Add new loss layer for semantic segmentation (pixel-wise classification) (#540) * #288 - add new layer loss_multiclass_log_matrixoutput for semantic-segmentation purposes * In semantic segmentation, add capability to ignore individual pixels when computing gradients * In semantic segmentation, 65535 classes ought to be enough for anybody * Divide matrix output loss by matrix dimensions too, in order to make losses related to differently sized matrices more comparable - note that this affects the required learning rate as well! * Review fix: avoid matrix copy * Review fix: rename to loss_multiclass_log_per_pixel * Review fix: just use uint16_t as the label type * Add more tests: check that network params and outputs are correct * Improve error message when output and truth matrix dimensions do not match * Add test case verifying that a single call of loss_multiclass_log_per_pixel equals multiple corresponding calls of loss_multiclass_log * Fix test failure by training longer * Remove the test case that fails on Travis for some reason, even though it works on AppVeyor and locally

Modified
dlib/dnn/loss.h
dlib/dnn/loss_abstract.h
dlib/test/dnn.cpp

Revision: 4dbaea3d09b01eb5
Author: Davis King
Date: Jul 01, 2017 (11:46:25 UTC)

Fixed broken copy constructor and assignment operator of con_, which became broken about an hour ago. Oops.

Modified
dlib/dnn/layers.h

Revision: 222d67337366cc71
Author: Davis King
Date: Jul 01, 2017 (11:24:25 UTC)

suppress compiler warnings

Modified
dlib/dnn/layers.h
dlib/dnn/loss.h

Revision: c27b1f28cee43d94
Author: Juha Reunanen
Date: Jun 30, 2017 (15:47:21 UTC)

Problem: Visual Studio's vcpkgsrv.exe constantly uses a single CPU core, (#666) apparently never finishing whatever it's trying to do. Moreover, this issue prevents some operations like switching from Debug to Release (and vice versa) in the IDE. (Your mileage may vary.) Workaround: Keep manually killing the vcpkgsrv.exe process. Solution: Disable IntelliSense for some files. Which files? Unfortunately this seems to be a trial-and-error process.

Modified
dlib/dnn.h

Revision: 77d5852d5ca0e243
Author: Davis King
Date: Jul 01, 2017 (10:46:27 UTC)

Upgraded loss_mmod_ to support objects of varying aspect ratio. This changes the API for the mmod_options struct slightly.

Modified
dlib/dnn/loss.h
dlib/dnn/loss_abstract.h
examples/dnn_mmod_ex.cpp

Revision: 4d594cdbcfea8731
Author: Davis King
Date: Jul 01, 2017 (08:12:30 UTC)

Added process() and process_batch() to add_loss_layer. These routines let you easily pass arguments to any optional parameters of a loss layer's to_tensor() routine. For instance, it makes it more convenient to set loss_mmod_'s adjust_threshold parameter.

Modified
dlib/dnn/core.h
dlib/dnn/core_abstract.h

Revision: f46c094db0c8fbdb
Author: Davis King
Date: Jul 01, 2017 (07:54:20 UTC)

updated spec about con_

Modified
dlib/dnn/layers_abstract.h

Revision: 1df4a8a67e958975
Author: Davis King
Date: Jul 01, 2017 (07:53:38 UTC)

Made it so you can set the number of output filters for con_ layers at runtime.

Modified
dlib/dnn/layers.h

Revision: 307c1b509117864d
Author: Davis King
Date: Jul 01, 2017 (07:41:26 UTC)

Made dnn_trainer sync its state to two separate sync files that it alternates between. This should make syncing more robust to sudden hardware failure that happens right when saving to disk.

Modified
dlib/dnn/trainer.h
dlib/dnn/trainer_abstract.h

Revision: 5d7f0f9e1ac6f673
Author: Davis King
Date: Jul 01, 2017 (07:37:16 UTC)

Added select_oldest_file() and select_newest_file()

Modified
dlib/dir_nav/dir_nav_extensions.cpp
dlib/dir_nav/dir_nav_extensions.h
dlib/dir_nav/dir_nav_extensions_abstract.h

Revision: 93a30ab0bf7065d5
Author: Davis King
Date: Jul 01, 2017 (07:34:35 UTC)

updated docs

Modified
dlib/dir_nav/dir_nav_kernel_1.h
dlib/dir_nav/dir_nav_kernel_2.h
dlib/dir_nav/dir_nav_kernel_abstract.h

Revision: e44118d86e385fa9
Author: Davis King
Date: Jul 01, 2017 (07:20:45 UTC)

Added file::last_modified() for windows version of code.

Modified
dlib/dir_nav/dir_nav_kernel_1.cpp
dlib/dir_nav/dir_nav_kernel_1.h

Revision: b5b8b55a3d1c6781
Author: Davis King
Date: Jul 01, 2017 (06:38:15 UTC)

Added last_modified() method to dlib::file.

Modified
dlib/dir_nav/dir_nav_kernel_2.cpp
dlib/dir_nav/dir_nav_kernel_2.h

Revision: bc43b7b4a15064e7
Author: Davis King
Date: Jun 26, 2017 (17:06:59 UTC)

Cleaned up documentation for conv_. Also removed unnecessary tensor reallocation and copying inside conv_'s backward pass. Doing this required adding an add_to_output boolean option to the methods of tensor_conv.

Modified
dlib/dnn/cpu_dlib.cpp
dlib/dnn/cpu_dlib.h
dlib/dnn/cudnn_dlibapi.cpp
dlib/dnn/cudnn_dlibapi.h
dlib/dnn/layers.h
dlib/dnn/layers_abstract.h
dlib/dnn/tensor_tools.h
dlib/test/dnn.cpp

Revision: 5f43b527f26068b6
Author: Davis King
Date: Jun 26, 2017 (17:01:47 UTC)

Fixed typo in comment.

Modified
dlib/dnn/core.h

Revision: d50bd56510b31ab6
Author: OranjeeGeneral
Date: Jun 22, 2017 (18:55:20 UTC)

refactored interface to reduce complexity so conv and convt layers forward passes have to call setup explicit now and there is only one ()-operator

Modified
dlib/dnn/cpu_dlib.cpp
dlib/dnn/cpu_dlib.h
dlib/dnn/cudnn_dlibapi.cpp
dlib/dnn/cudnn_dlibapi.h
dlib/dnn/layers.h
dlib/dnn/tensor_tools.h
dlib/test/dnn.cpp

Revision: e0b16a54ce28359e
Author: Joachim
Date: Jun 13, 2017 (14:33:42 UTC)

Merge branch 'master' of https://github.com/davisking/dlib

Modified
dlib/CMakeLists.txt
dlib/any/any.h
dlib/any/any_decision_function.h
dlib/any/any_function.h
dlib/any/any_function_impl.h
dlib/any/any_trainer.h
dlib/bayes_utils/bayes_utils.h
dlib/bridge/bridge.h
dlib/bsp/bsp.cpp
dlib/bsp/bsp.h
dlib/cmake_utils/dlib.pc.in
dlib/cmake_utils/dlibConfig.cmake.in
dlib/cmd_line_parser/cmd_line_parser_print_1.h
dlib/directed_graph/directed_graph_kernel_1.h
dlib/dnn/core.h
dlib/dnn/core_abstract.h
dlib/dnn/cuda_dlib.cu
dlib/dnn/cuda_dlib.h
dlib/dnn/curand_dlibapi.cpp
dlib/dnn/curand_dlibapi.h
dlib/dnn/layers.h
dlib/dnn/layers_abstract.h
dlib/dnn/loss.h
dlib/dnn/tensor_tools.cpp
dlib/dnn/tensor_tools.h
dlib/dnn/trainer.h
dlib/dnn/utilities.h
dlib/dnn/utilities_abstract.h
dlib/geometry/drectangle.h
dlib/geometry/drectangle_abstract.h
dlib/geometry/rectangle.h
dlib/geometry/rectangle_abstract.h
dlib/geometry/vector.h
dlib/graph/graph_kernel_1.h
dlib/graph_cuts/min_cut.h
dlib/gui_core/gui_core_kernel_1.cpp
dlib/gui_core/gui_core_kernel_1.h
dlib/gui_core/gui_core_kernel_2.cpp
dlib/gui_widgets/base_widgets.cpp
dlib/gui_widgets/base_widgets.h
dlib/gui_widgets/drawable.h
dlib/gui_widgets/fonts.cpp
dlib/gui_widgets/fonts.h
dlib/gui_widgets/nativefont.h
dlib/gui_widgets/widgets.cpp
dlib/gui_widgets/widgets.h
dlib/image_loader/jpeg_loader.h
dlib/image_loader/png_loader.h
dlib/image_processing.h
dlib/image_processing/shape_predictor.h
dlib/image_processing/shape_predictor_abstract.h
dlib/iosockstream/iosockstream.h
dlib/logger/logger_kernel_1.cpp
dlib/logger/logger_kernel_1.h
dlib/matrix/lapack/gees.h
dlib/matrix/matrix_blas_bindings.h
dlib/matrix/matrix_trsm.h
dlib/optimization/optimization_bobyqa.h
dlib/serialize.h
dlib/server/server_kernel.h
dlib/simd/simd4f.h
dlib/simd/simd4i.h
dlib/simd/simd_check.h
dlib/smart_pointers.h
dlib/smart_pointers/scoped_ptr.h
dlib/smart_pointers_thread_safe.h
dlib/sockets/sockets_extensions.cpp
dlib/sockets/sockets_extensions.h
dlib/sockets/sockets_extensions_abstract.h
dlib/sockets/sockets_kernel_1.cpp
dlib/sockets/sockets_kernel_1.h
dlib/sockets/sockets_kernel_2.cpp
dlib/sockets/sockets_kernel_2.h
dlib/sockets/sockets_kernel_abstract.h
dlib/sockstreambuf/sockstreambuf.h
dlib/sockstreambuf/sockstreambuf_abstract.h
dlib/sockstreambuf/sockstreambuf_unbuffered.h
dlib/sqlite/sqlite.h
dlib/svm/kkmeans.h
dlib/svm/pegasos.h
dlib/svm/structural_svm_distributed.h
dlib/svm/svm_threaded.h
dlib/test/CMakeLists.txt
dlib/test/dnn.cpp
dlib/test/elastic_net.cpp
dlib/test/gui/main.cpp
dlib/test/makefile
dlib/test/opt_qp_solver.cpp
dlib/test/optimization_test_functions.cpp
dlib/test/smart_pointers.cpp
dlib/test/sockets.cpp
dlib/test/sockets2.cpp
dlib/test/sockstreambuf.cpp
dlib/test/tester.h
dlib/test/tuple.cpp
dlib/threads/thread_function_extension.h
dlib/threads/thread_pool_extension.cpp
dlib/threads/thread_pool_extension.h
dlib/timer/timer.cpp
dlib/timer/timer.h
dlib/xml_parser/xml_parser_kernel_1.h
dlib/xml_parser/xml_parser_kernel_interfaces.h
docs/docs/containers.xml
docs/docs/howto_contribute.xml
docs/docs/linear_algebra.xml
docs/docs/ml.xml
docs/docs/term_index.xml
examples/CMakeLists.txt
examples/bayes_net_gui_ex.cpp
examples/dnn_face_recognition_ex.cpp
examples/dnn_introduction2_ex.cpp
examples/dnn_introduction_ex.cpp
examples/sockstreambuf_ex.cpp
setup.py
Added
appveyor.yml
dlib/image_processing/shape_predictor_trainer.h
dlib/image_processing/shape_predictor_trainer_abstract.h
python_examples/requirements.txt
tools/convert_dlib_nets_to_caffe/CMakeLists.txt
tools/convert_dlib_nets_to_caffe/main.cpp
tools/convert_dlib_nets_to_caffe/running_a_dlib_model_with_caffe_example.py
Deleted
dlib/smart_pointers/scoped_ptr_abstract.h

Revision: 224183b025f1b138
Author: Joachim
Date: Apr 10, 2017 (14:17:54 UTC)

Merge remote-tracking branch 'upstream/master'

Modified
README.md
dlib/CMakeLists.txt
dlib/cmake_utils/add_python_module
dlib/cmake_utils/cmake_find_blas.txt
dlib/data_io/image_dataset_metadata.cpp
dlib/data_io/image_dataset_metadata.h
dlib/dnn/core.h
dlib/dnn/cpu_dlib.cpp
dlib/dnn/cpu_dlib.h
dlib/dnn/cuda_dlib.cu
dlib/dnn/cuda_dlib.h
dlib/dnn/cuda_errors.h
dlib/dnn/cuda_utils.h
dlib/dnn/cudnn_dlibapi.cpp
dlib/dnn/tensor_tools.cpp
dlib/dnn/tensor_tools.h
dlib/graph_utils/edge_list_graphs.h
dlib/image_processing/scan_fhog_pyramid.h
dlib/image_transforms/image_pyramid.h
dlib/matlab/cmake_mex_wrapper
dlib/matlab/mex_wrapper.cpp
dlib/matrix/matrix_trsm.h
dlib/optimization/optimization_solve_qp_using_smo.h
dlib/optimization/optimization_solve_qp_using_smo_abstract.h
dlib/test/CMakeLists.txt
dlib/test/cublas.cpp
dlib/test/dnn.cpp
dlib/test/opt_qp_solver.cpp
dlib/timer/timer.cpp
dlib/timer/timer_heavy.h
dlib/tokenizer/tokenizer_kernel_1.cpp
docs/docs/optimization.xml
docs/docs/term_index.xml
examples/CMakeLists.txt
tools/imglab/src/main.cpp
tools/imglab/src/metadata_editor.cpp
Added
dlib/dnn/cuda_data_ptr.cpp
dlib/dnn/cuda_data_ptr.h
dlib/dnn/cusolver_dlibapi.cu
dlib/dnn/cusolver_dlibapi.h

Revision: 324a5638cdebfcb1
Author: Joachim
Date: Mar 16, 2017 (12:19:26 UTC)

fixed backward pass in cont layer to accumulate gradients this will pass the layer test now also removed compile warnings and changed some comments

Modified
dlib/dnn/cpu_dlib.h
dlib/dnn/layers.h
dlib/dnn/layers_abstract.h
dlib/test/dnn.cpp

Revision: 4e0b6915da3a4ddd
Author: Joachim
Date: Mar 13, 2017 (15:34:13 UTC)

add initial version of convolutional transpose layer

Modified
dlib/dnn/cpu_dlib.cpp
dlib/dnn/cpu_dlib.h
dlib/dnn/cudnn_dlibapi.cpp
dlib/dnn/cudnn_dlibapi.h
dlib/dnn/layers.h
dlib/dnn/layers_abstract.h
dlib/dnn/tensor_tools.h
dlib/test/dnn.cpp

Revision: 88b121a1fedc1130
Author: Davis King
Date: Jun 28, 2017 (04:53:43 UTC)

Minor change to avoid errors from some versions of cmake.

Modified
dlib/cmake_utils/test_for_cudnn/CMakeLists.txt

Revision: e8cf0eeb0696abff
Author: Davis King
Date: Jun 21, 2017 (13:06:48 UTC)

Fixed mex class code printing

Modified
dlib/matlab/mex_wrapper.cpp

Revision: 9e977a1bed81dd2a
Author: Davis King
Date: Jun 21, 2017 (05:10:34 UTC)

Added operator= for simd8f so assignment from float compiles.

Modified
dlib/simd/simd8f.h

Revision: a871b6765e9f5461
Author: Grigoris
Date: Jun 07, 2017 (12:51:19 UTC)

Minor typo corrections in shape predictor trainer. (#633)

Modified
dlib/image_processing/shape_predictor_trainer.h

Revision: 03333233fd7f0e7f
Author: Plumtus
Date: Jun 07, 2017 (10:19:23 UTC)

Reinitialize averagers when saved sync file was reloaded. (#629)

Modified
dlib/dnn/trainer.h

Revision: 1b250933cc9382b3
Author: Davis King
Date: Jun 19, 2017 (16:54:45 UTC)

Made is so pressing e in imglab toggles between views of the image where the histogram is equalized or unmodified. This way, if you are looking at particularly dark or badly contrasted images you can toggle this mode and maybe get a better view of what you are labeling.

Modified
tools/imglab/src/main.cpp
tools/imglab/src/metadata_editor.cpp
tools/imglab/src/metadata_editor.h

Revision: 722b93ed91244b64
Author: Davis King
Date: Jun 18, 2017 (04:11:54 UTC)

Updated code to work with new random_cropper interface.

Modified
tools/python/src/face_recognition.cpp

Revision: 5faee3477597fea2
Author: Davis King
Date: Jun 17, 2017 (08:34:26 UTC)

Changed the random_cropper's interface so that instead of talking in terms of min and max object height, it's now min and max object size. This way, if you have objects that are short and wide (i.e. objects where the relevant dimension is width rather than height) you will get sensible behavior out of the random cropper.

Modified
dlib/image_transforms/random_cropper.h
dlib/image_transforms/random_cropper_abstract.h
examples/dnn_face_recognition_ex.cpp
examples/dnn_mmod_ex.cpp
examples/random_cropper_ex.cpp

Revision: 108467d3815cfcab
Author: Davis King
Date: Jun 06, 2017 (01:47:00 UTC)

Switched order of things in if statement so cmake hopefully won't give weird errors.

Modified
dlib/CMakeLists.txt

Revision: d2719abaf6546a6f
Author: Davis King
Date: Jun 04, 2017 (06:06:44 UTC)

Changed the converter so that, rather than producing one python file with everything in it, it now makes a python file as before but an additional binary file with all the weights in it. This way, if you are working with a network with a very large number of weights you won't end up with a crazy large python script.

Modified
tools/convert_dlib_nets_to_caffe/main.cpp

Revision: ab209be410741632
Author: Davis King
Date: Jun 02, 2017 (18:50:01 UTC)

Added set_rect_area()

Modified
dlib/geometry/drectangle.h
dlib/geometry/drectangle_abstract.h
dlib/geometry/rectangle.h
dlib/geometry/rectangle_abstract.h

Revision: 5360858bb0c7f5e0
Author: Davis King
Date: May 31, 2017 (12:08:00 UTC)

Added a .fill() member to curand_generator that can create random 32bit integers.

Modified
dlib/dnn/curand_dlibapi.cpp
dlib/dnn/curand_dlibapi.h

Revision: 6021c01284a2bd82
Author: Evgeniy Fominov
Date: May 30, 2017 (15:40:11 UTC)

Possible CLang fix for Neon-based SIMD4i (#612)

Modified
dlib/simd/simd4f.h
dlib/simd/simd4i.h

Revision: 75122fdd0ac0cacb
Author: Davis King
Date: May 29, 2017 (16:06:37 UTC)

Relaxed the default non-max suppression parameters used by the mmod_options object so that users of the deep learning MMOD tool don't get spurious errors about impossibly labeled objects during training.

Modified
dlib/dnn/loss.h

Revision: 232d654d576228ee
Author: Davis King
Date: May 28, 2017 (07:07:02 UTC)

Made the converter handle caffe's odd pooling layer output size calculations.

Modified
tools/convert_dlib_nets_to_caffe/main.cpp

Revision: 033799853c74caf7
Author: Davis King
Date: May 27, 2017 (08:56:24 UTC)

Work around a bug in visual studio 2015.

Modified
dlib/dnn/core.h

Revision: 8d673c4363ac7494
Author: Davis King
Date: May 27, 2017 (07:59:32 UTC)

Made calling clean() on network objects also call clean on any layer detail objects that also provide a .clean() method.

Modified
dlib/dnn/core.h
dlib/dnn/core_abstract.h
dlib/dnn/layers.h
dlib/dnn/layers_abstract.h

Revision: 08f6d8abf9582e8b
Author: Davis King
Date: May 26, 2017 (13:23:58 UTC)

Added visit_layers_until_tag()

Modified
dlib/dnn/core.h
dlib/dnn/core_abstract.h

Revision: 96836695f84bbe15
Author: Juha Reunanen
Date: May 22, 2017 (18:58:27 UTC)

Noticed compiler warning C4800: 'double': forcing value to bool 'true' or 'false' (performance warning) (#538) - suggesting to change the test to what perhaps was the original intention

Modified
dlib/test/elastic_net.cpp

Revision: 525ffd8652c7e66b
Author: Davis King
Date: May 24, 2017 (03:24:12 UTC)

Made the converter add zero padding layers when needed by Eltwise to replicate the behavior of dlib's add_prev layers.

Modified
tools/convert_dlib_nets_to_caffe/main.cpp

Revision: 7aead3cfc4860e72
Author: Davis King
Date: May 22, 2017 (15:11:00 UTC)

Made error message slightly better.

Modified
tools/convert_dlib_nets_to_caffe/main.cpp

Revision: 0fa88f3431233d21
Author: Davis King
Date: May 22, 2017 (15:06:55 UTC)

Changed caffe converter to require the user to specify the input tensor size when the converter is run.

Modified
tools/convert_dlib_nets_to_caffe/main.cpp
tools/convert_dlib_nets_to_caffe/running_a_dlib_model_with_caffe_example.py

Revision: d975568a1a9e41cc
Author: emptyVoid
Date: May 20, 2017 (27:37:40 UTC)

Move shape_predictor_trainer to a separate header (#599) Moved shape_predictor_trainer to its own header in order to support the use of shape_predictor with DLIB_ISO_CPP_ONLY defined (i.e. without threading API wrappers).

Modified
dlib/image_processing.h
dlib/image_processing/shape_predictor.h
dlib/image_processing/shape_predictor_abstract.h
Added
dlib/image_processing/shape_predictor_trainer.h
dlib/image_processing/shape_predictor_trainer_abstract.h

Revision: 43a8742c0823d982
Author: Davis King
Date: May 19, 2017 (16:16:40 UTC)

Dlib and caffe actually do use max pooling layers with padding in the same way. So I just removed the error check that was preventing the conversion from proceeding in that case. I also added more useful output messages about setting input tensor dimensions.

Modified
tools/convert_dlib_nets_to_caffe/main.cpp

Revision: cbeec8729b42008c
Author: Davis King
Date: May 17, 2017 (12:43:32 UTC)

Fixed uninitialized variable in test that caused unreliable test results.

Modified
dlib/test/opt_qp_solver.cpp

Revision: d3fd1a0bc906b749
Author: Davis King
Date: May 16, 2017 (17:14:09 UTC)

Cleanup and also fixed a cmake error when building dlib outside a project.

Modified
dlib/CMakeLists.txt

Revision: 8a628dc5a9c53d8a
Author: tschw
Date: May 16, 2017 (22:47:53 UTC)

Fix installed CMake targets when DLIB_ISO_CPP_ONLY (#595) (#597)

Modified
dlib/CMakeLists.txt

Revision: 82781a9eb9329af9
Author: Davis King
Date: May 16, 2017 (16:50:34 UTC)

yet more print statements

Modified
dlib/test/opt_qp_solver.cpp

Revision: 0ec5f02648fba710
Author: Davis King
Date: May 16, 2017 (05:55:34 UTC)

A test to see more info about what's going weird on appveyor.

Modified
dlib/test/opt_qp_solver.cpp

Revision: fd29101367974642
Author: Davis King
Date: May 15, 2017 (03:12:18 UTC)

More logging messages

Modified
dlib/test/opt_qp_solver.cpp

Revision: 8e0cabe86d7e501d
Author: Davis King
Date: May 14, 2017 (16:07:16 UTC)

A minor change to hopefully reduce inane warnings from visual studio.

Modified
examples/dnn_face_recognition_ex.cpp

Revision: a48bc42b6ba55508
Author: Davis King
Date: May 14, 2017 (15:55:01 UTC)

removed cruft

Modified
dlib/test/makefile

Revision: 4a38ad612a5dae29
Author: elelel
Date: May 14, 2017 (23:52:34 UTC)

Migrate from dlib::scoped_ptr to std::unique_ptr (#593) * Convert unique_ptr * Fix passing unique_ptr as copy by value * Remove scoped_ptr implementation * Fix missed files * Move bool cast into tester macro * Reexport scoped_ptr alias from sockets

Modified
dlib/any/any.h
dlib/any/any_decision_function.h
dlib/any/any_function_impl.h
dlib/any/any_trainer.h
dlib/bayes_utils/bayes_utils.h
dlib/bridge/bridge.h
dlib/bsp/bsp.cpp
dlib/bsp/bsp.h
dlib/gui_widgets/base_widgets.h
dlib/gui_widgets/widgets.cpp
dlib/gui_widgets/widgets.h
dlib/image_loader/png_loader.h
dlib/iosockstream/iosockstream.h
dlib/logger/logger_kernel_1.cpp
dlib/logger/logger_kernel_1.h
dlib/optimization/optimization_bobyqa.h
dlib/server/server_kernel.h
dlib/smart_pointers.h
dlib/smart_pointers/scoped_ptr.h
dlib/sockets/sockets_extensions.cpp
dlib/sockets/sockets_extensions.h
dlib/sockets/sockets_extensions_abstract.h
dlib/sockets/sockets_kernel_1.cpp
dlib/sockets/sockets_kernel_1.h
dlib/sockets/sockets_kernel_2.cpp
dlib/sockets/sockets_kernel_2.h
dlib/sockets/sockets_kernel_abstract.h
dlib/sockstreambuf/sockstreambuf.h
dlib/sockstreambuf/sockstreambuf_abstract.h
dlib/sockstreambuf/sockstreambuf_unbuffered.h
dlib/svm/kkmeans.h
dlib/svm/structural_svm_distributed.h
dlib/test/sockets.cpp
dlib/test/sockets2.cpp
dlib/test/sockstreambuf.cpp
dlib/test/tester.h
dlib/threads/thread_function_extension.h
examples/bayes_net_gui_ex.cpp
examples/sockstreambuf_ex.cpp
Deleted
dlib/smart_pointers/scoped_ptr_abstract.h

Revision: ef0782f1c88c775c
Author: elelel
Date: May 13, 2017 (22:05:52 UTC)

Change type traits from inherited to explicit (#591)

Modified
dlib/geometry/vector.h

Revision: dc1e020634471405
Author: Davis King
Date: May 13, 2017 (10:23:24 UTC)

Added more outputs to unit test error message.

Modified
dlib/test/opt_qp_solver.cpp

Revision: da3e6e946e500700
Author: elelel
Date: May 13, 2017 (18:05:23 UTC)

Replace shared_ptr_thread_safe with std::shared_ptr (#590) * Replace shared_ptr/weak_ptr with stdlib counterparts * Fix ptr usage through tests compilation * Bring back dlib smart ptrs as legacy * Include scoped_ptr directly * Add explanation about smart_ptr deprecation * Replace shared_ptr_thread_safe * Fix missed old include * Removed missed old include

Modified
dlib/gui_core/gui_core_kernel_1.cpp
dlib/gui_core/gui_core_kernel_1.h
dlib/gui_core/gui_core_kernel_2.cpp
dlib/gui_widgets/base_widgets.cpp
dlib/gui_widgets/base_widgets.h
dlib/gui_widgets/drawable.h
dlib/gui_widgets/fonts.cpp
dlib/gui_widgets/fonts.h
dlib/gui_widgets/nativefont.h
dlib/gui_widgets/widgets.cpp
dlib/gui_widgets/widgets.h
dlib/iosockstream/iosockstream.h
dlib/smart_pointers_thread_safe.h
dlib/sockets/sockets_kernel_1.h
dlib/test/gui/main.cpp
dlib/threads/thread_pool_extension.h
dlib/timer/timer.cpp
dlib/timer/timer.h

Revision: f1ba17502aeafe99
Author: elelel
Date: May 12, 2017 (20:40:59 UTC)

Replace shared_ptr/weak_ptr with STL's versions (#588) * Replace shared_ptr/weak_ptr with stdlib counterparts * Fix ptr usage through tests compilation * Bring back dlib smart ptrs as legacy * Include scoped_ptr directly * Add explanation about smart_ptr deprecation

Modified
dlib/any/any.h
dlib/any/any_decision_function.h
dlib/any/any_function.h
dlib/any/any_trainer.h
dlib/bayes_utils/bayes_utils.h
dlib/bridge/bridge.h
dlib/bsp/bsp.cpp
dlib/bsp/bsp.h
dlib/cmd_line_parser/cmd_line_parser_print_1.h
dlib/directed_graph/directed_graph_kernel_1.h
dlib/graph/graph_kernel_1.h
dlib/gui_widgets/base_widgets.h
dlib/gui_widgets/widgets.h
dlib/image_loader/jpeg_loader.h
dlib/image_loader/png_loader.h
dlib/logger/logger_kernel_1.h
dlib/optimization/optimization_bobyqa.h
dlib/serialize.h
dlib/server/server_kernel.h
dlib/smart_pointers.h
dlib/sockets/sockets_extensions.h
dlib/sockets/sockets_kernel_2.h
dlib/sqlite/sqlite.h
dlib/svm/kkmeans.h
dlib/svm/pegasos.h
dlib/svm/structural_svm_distributed.h
dlib/svm/svm_threaded.h
dlib/test/CMakeLists.txt
dlib/test/smart_pointers.cpp
dlib/test/sockstreambuf.cpp
dlib/threads/thread_function_extension.h
dlib/threads/thread_pool_extension.cpp
dlib/threads/thread_pool_extension.h
examples/bayes_net_gui_ex.cpp

Revision: 073194d2bf33b2a5
Author: Davis King
Date: May 07, 2017 (15:40:42 UTC)

Fixed spelling error

Modified
tools/convert_dlib_nets_to_caffe/main.cpp

Revision: 7c5ef62bc9326d82
Author: Davis King
Date: May 07, 2017 (15:12:12 UTC)

Added a note about exporting to XML.

Modified
examples/dnn_introduction_ex.cpp

Revision: dd4d30f3521efe26
Author: Davis King
Date: May 07, 2017 (15:11:52 UTC)

Changed the location of the set_synchronization_file() call so that rerunning the example restarts correctly.

Modified
examples/dnn_introduction2_ex.cpp

Revision: 755c0ac22b15ee88
Author: Davis King
Date: May 07, 2017 (15:08:41 UTC)

Renamed file

Added
tools/convert_dlib_nets_to_caffe/running_a_dlib_model_with_caffe_example.py
Deleted
tools/convert_dlib_nets_to_caffe/dlib_driver.py

Revision: 0a24828d2080d8a8
Author: Davis King
Date: May 07, 2017 (15:07:18 UTC)

Improved example python script

Modified
tools/convert_dlib_nets_to_caffe/dlib_driver.py

Revision: a950eb8d61bb2530
Author: Davis King
Date: May 07, 2017 (13:16:08 UTC)

Added more comments

Modified
tools/convert_dlib_nets_to_caffe/main.cpp

Revision: d66e5da9d57d2aa0
Author: Davis King
Date: May 07, 2017 (12:57:34 UTC)

Fixed affine_fc and clarified error message.

Modified
tools/convert_dlib_nets_to_caffe/main.cpp

Revision: d73d2d82bb409fb3
Author: Davis King
Date: May 07, 2017 (12:23:35 UTC)

Added missing sig and prelu layer support.

Modified
tools/convert_dlib_nets_to_caffe/main.cpp

Revision: e1dffb71454fee96
Author: Davis King
Date: May 07, 2017 (11:49:19 UTC)

Cleaned up how the output is output.

Modified
tools/convert_dlib_nets_to_caffe/main.cpp

Revision: e414011a9bbd73d1
Author: Davis King
Date: May 07, 2017 (11:26:18 UTC)

Added support for all the other dlib layers that make sense.

Modified
tools/convert_dlib_nets_to_caffe/main.cpp

Revision: b422f960daf58c78
Author: Davis King
Date: May 06, 2017 (11:02:38 UTC)

Added a simple tool to convert dlib model files, which are saved as XML files, to caffe models. Not all layers are supported yet, but it works on the net from the first dlib dnn example program. Will add the rest of the layers soon.

Added
tools/convert_dlib_nets_to_caffe/CMakeLists.txt
tools/convert_dlib_nets_to_caffe/dlib_driver.py
tools/convert_dlib_nets_to_caffe/main.cpp

Revision: 93ddd177d4241cda
Author: Davis King
Date: May 07, 2017 (13:32:15 UTC)

Added an overload of net_to_xml() that takes a string filename.

Modified
dlib/dnn/utilities.h
dlib/dnn/utilities_abstract.h

Revision: 0deaaacf074903fe
Author: Davis King
Date: May 07, 2017 (13:19:26 UTC)

Changed the XML format output by net_to_xml(). Specifically, the XML tag for affine layers was changed so to use the same conventions as other layers that support convolutional vs fully connected modes.

Modified
dlib/dnn/layers.h

Revision: e326d0c0a08262ec
Author: Davis King
Date: May 07, 2017 (13:17:56 UTC)

Made net_to_xml() output floating point numbers with more digits.

Modified
dlib/dnn/utilities.h

Revision: b1b5e6de383df644
Author: Davis King
Date: May 06, 2017 (08:46:19 UTC)

Made the attribute_list of the xml parser a little more friendly by allowing you to ask for attributes that don't exist and get a defined behavior (an exception being thrown) rather than it being a contract violation.

Modified
dlib/xml_parser/xml_parser_kernel_1.h
dlib/xml_parser/xml_parser_kernel_interfaces.h

Revision: 140a70ec4fc94561
Author: Davis King
Date: May 05, 2017 (01:42:13 UTC)

Added more comments

Modified
examples/dnn_face_recognition_ex.cpp

Revision: 25cf9e1177db1f08
Author: Jim61C
Date: May 03, 2017 (01:40:04 UTC)

remove enum in function signature to avoid cblas declaration conflicts (#571)

Modified
dlib/matrix/matrix_blas_bindings.h
dlib/matrix/matrix_trsm.h

Revision: a7859342b893164d
Author: Evgeniy Fominov
Date: May 01, 2017 (21:31:36 UTC)

Multiarch installation fix (#567) * fix multiarch install * fix include dir * cleaned up stuff and removed things we don't need anymore

Modified
dlib/CMakeLists.txt
dlib/cmake_utils/dlibConfig.cmake.in

Revision: 16134dee16e1933e
Author: cclough
Date: Apr 30, 2017 (10:48:51 UTC)

Update CMakeLists.txt (#566)

Modified
examples/CMakeLists.txt

Revision: cecc99498a2323bb
Author: Evgeniy Fominov
Date: Apr 29, 2017 (25:39:35 UTC)

ARM NEON SIMD support (#564) * added neon functions * TK1 tests passed * code cleanup * Re-tested on TK1 * improve simd4i * fixed simd4f_bool neon * fix simd8i sse operator <= * restored rsqrt/VSX * fixed simd4f/neon/reciprocal_sqrt

Modified
dlib/simd/simd4f.h
dlib/simd/simd4i.h
dlib/simd/simd_check.h

Revision: 7c55b1ef14be9a97
Author: Davis King
Date: Apr 21, 2017 (06:45:02 UTC)

Added tt::log(), tt::exp(), and tt::log10()

Modified
dlib/dnn/cuda_dlib.cu
dlib/dnn/cuda_dlib.h
dlib/dnn/tensor_tools.cpp
dlib/dnn/tensor_tools.h
dlib/test/dnn.cpp

Revision: f96f0a6d552bf009
Author: Davis King
Date: Apr 21, 2017 (06:15:27 UTC)

Fixed tabbing

Modified
dlib/dnn/tensor_tools.h

Revision: 08eca19334f45ac4
Author: David Seifert
Date: Apr 16, 2017 (20:14:21 UTC)

CMake improvements (#539) * Use GNUInstallDirs to allow changing target directories * Multi-lib distributions need to change the libdir which is only portably possible with `GNUInstallDirs`. The current `LIB_INSTALL_DIR` solution is not portable and not supported upstream by Kitware. * Multi-arch distributions such as Debian and Exherbo need to be able to change the bindir. * Do not install LICENSE.txt * Most distributions do not install license files, as they have all licenses stored in a central repository, in order not to duplicate the same file over and over. * License files do not need to be installed for a piece of software to be licensed under that license.

Modified
dlib/CMakeLists.txt
dlib/cmake_utils/dlib.pc.in

Revision: 4157beda1498593a
Author: Roy Macdonald
Date: Apr 14, 2017 (18:41:22 UTC)

Fixes issue with object named nil that collide with apple's definition. (#537) * Fixes issue with object named nil that collide with apple's definition. * fix nil named objects: changed name to no_parent

Modified
dlib/graph_cuts/min_cut.h
dlib/matrix/lapack/gees.h
dlib/test/tuple.cpp

Revision: 17edc910ea074b59
Author: ernestotapiar
Date: Apr 14, 2017 (17:41:25 UTC)

Corrected typo that generated an erroneus Hessian of Brown's function. (#534)

Modified
dlib/test/optimization_test_functions.cpp

Revision: 8a6bf5db9bc39fd4
Author: Joost van Amersfoort
Date: Apr 07, 2017 (17:02:37 UTC)

Add support for Python3.6 lib search with Cmake (#527) * Add support for Python3.6 lib search with Cmake A recent commit added support for python3.5 lib search with Cmake. This PR extends that to python 3.6. Relevant old commit: https://github.com/davisking/dlib/commit/17a2c75ddffb13e915686803c5e3bf4cc1389a96 * Turn python versions into a list

Modified
dlib/cmake_utils/add_python_module

Revision: 81942f1a2e279806
Author: Davis King
Date: Apr 19, 2017 (18:19:17 UTC)

Added python requirements.txt file for scikit-image

Added
python_examples/requirements.txt

Revision: 8f7170dcdb5139c5
Author: Davis King
Date: Apr 06, 2017 (16:28:08 UTC)

Tweak assert enable/disable behavior so the asserts still come on or off as a function of the release/debug drop down menu when using visual studio's IDE.

Modified
dlib/CMakeLists.txt

Revision: 5739b256a6eb6138
Author: Martijn Courteaux
Date: Apr 07, 2017 (03:41:20 UTC)

Fix asserts, super clean! (#526) * Wether asserts are enabled or not, is now only suggested by dlib, and not longer imposed. The user can override using SET(CACHE FORCE) or command line -DDLIB_ENABLE_ASSERT=ON/OFF anytime. * Fixed missing line in cmake for asserts.

Modified
dlib/CMakeLists.txt

Revision: 77669010b5182f50
Author: Davis King
Date: Apr 06, 2017 (13:07:07 UTC)

Stopped using CMAKE_CXX_FLAGS to set dlib's preprocessor switches and instead now use target_compile_options(). This should avoid weird configuration errors that happen in rare instances on some platforms.

Modified
dlib/CMakeLists.txt

Revision: db665c35d1076ed4
Author: Davis King
Date: Apr 05, 2017 (16:02:26 UTC)

Fixed cmake so openmp is handled properly in visual studio. The change yesterday messed it up and effectively disabled cuda in visual studio. This fixes that.

Modified
dlib/CMakeLists.txt

Revision: dc709769b48049ba
Author: Davis King
Date: Apr 05, 2017 (07:50:20 UTC)

Minor CMake cleanup

Modified
dlib/test/CMakeLists.txt

Revision: f5255d583370c41d
Author: Davis King
Date: Apr 05, 2017 (07:19:00 UTC)

Don't try to use any CUDA stuff when making matlab mex files.

Modified
dlib/matlab/cmake_mex_wrapper

Revision: f4ed7e576481801f
Author: Davis King
Date: Apr 05, 2017 (07:08:32 UTC)

Fixed bad results when using CUDA and the Intel MKL at the same time. This was because of a bug introduced yesterday in the CMake scripts which would accidentally pull in two versions of the OpenMP libraries, the GNU one and the Intel one, but you can't mix them together at the same time.

Modified
dlib/CMakeLists.txt
dlib/cmake_utils/cmake_find_blas.txt

Revision: 3f189157af659cb9
Author: goodloop
Date: Apr 05, 2017 (30:58:15 UTC)

fix unneeded reference for cblas_strsm and cblas_dtrsm when DLIB_USE_BLAS is not defined (#519)

Modified
dlib/matrix/matrix_trsm.h

Revision: 6ead4fdd4cdbcae9
Author: Davis King
Date: Apr 05, 2017 (02:15:39 UTC)

Fixed visual studio errors about openmp compiler flags not being right.

Modified
dlib/CMakeLists.txt

Revision: dbc83cda3b5401e3
Author: Davis King
Date: Apr 05, 2017 (01:47:06 UTC)

Added missing quotes so that cmake works on windows.

Modified
dlib/CMakeLists.txt

Revision: 7836cc0c0b216607
Author: Davis King
Date: Apr 04, 2017 (17:37:38 UTC)

Fixed code not compiling when cuda is disabled.

Modified
dlib/dnn/tensor_tools.cpp

Revision: 1d99d801574d5434
Author: sigbjorn
Date: Apr 04, 2017 (22:28:19 UTC)

Provide cleanup for timer_global_clock singleton, issue #505 (#512) * temporary workaround for python hanging on dlib::shared_ptr_thread_safe<global_clock> when extension-module using dlib is unloaded on windows platform * added some more doc and tests for the new delete_global_clock function. Minor adjustment to singleton pattern to allow easy access to singleton shared ptr * alternate _WIN32 specific solution, with no extra functions nor user-actions needed * removed floating/obsolete delete_global_clock, tab to space * leaving linux code unchanged in static desctructor * cleanup not modified files * align formatting

Modified
dlib/timer/timer.cpp

Revision: 12e38fe71aeed300
Author: Davis King
Date: Apr 04, 2017 (17:18:30 UTC)

Added a tt::inv() for computing matrix inversions on the GPU.

Modified
dlib/CMakeLists.txt
dlib/dnn/tensor_tools.cpp
dlib/dnn/tensor_tools.h
dlib/test/cublas.cpp
Added
dlib/dnn/cusolver_dlibapi.cu
dlib/dnn/cusolver_dlibapi.h

Revision: 154c991285d2c6ff
Author: Davis King
Date: Apr 04, 2017 (11:56:58 UTC)

removed cruft

Modified
dlib/dnn/cuda_utils.h

Revision: d684b7468c8f2bfa
Author: Davis King
Date: Apr 04, 2017 (11:21:19 UTC)

Moved the cuda_data class into its own file, renamed it to cuda_data_ptr, and also pushed all the cuda #includes into a .cpp file.

Modified
dlib/CMakeLists.txt
dlib/dnn/cuda_utils.h
Added
dlib/dnn/cuda_data_ptr.cpp
dlib/dnn/cuda_data_ptr.h

Revision: d0562135ef97eace
Author: Davis King
Date: Apr 04, 2017 (10:30:06 UTC)

Added cusolver_error class.

Modified
dlib/dnn/cuda_errors.h

Revision: c7e95f3b5f375a5b
Author: Davis King
Date: Apr 04, 2017 (10:29:41 UTC)

Added cuda_data, a templated container for GPU memory.

Modified
dlib/dnn/cuda_utils.h

Revision: c191fe1994525a0a
Author: Davis King
Date: Apr 03, 2017 (02:10:19 UTC)

Added support for cuDNN 6

Modified
dlib/dnn/cudnn_dlibapi.cpp

Revision: 91ce4560b9328fb4
Author: Davis King
Date: Apr 02, 2017 (12:31:55 UTC)

fixed spelling error in comment

Modified
dlib/timer/timer_heavy.h

Revision: e4468f6d706476df
Author: Davis King
Date: Apr 02, 2017 (10:03:51 UTC)

Added a version of tt::affine_transform() that operates on a sub-rectangle rather than the entire tensor.

Modified
dlib/dnn/cpu_dlib.cpp
dlib/dnn/cpu_dlib.h
dlib/dnn/cuda_dlib.cu
dlib/dnn/cuda_dlib.h
dlib/dnn/tensor_tools.cpp
dlib/dnn/tensor_tools.h
dlib/test/dnn.cpp

Revision: 4d29d54c03ae914c
Author: Davis King
Date: Mar 30, 2017 (06:43:49 UTC)

Made the title bar show the current image's number.

Modified
tools/imglab/src/metadata_editor.cpp

Revision: dcd6d464fa69c862
Author: marcovzla
Date: Mar 24, 2017 (07:20:33 UTC)

remove miniconda (#500)

Modified
dlib/CMakeLists.txt

Revision: 8f7255877534648a
Author: Davis King
Date: Mar 30, 2017 (03:32:42 UTC)

Fixed the visit_layers_backwards() and visit_layers_backwards_range() routines so they visit layers in the correct order.

Modified
dlib/dnn/core.h

Revision: 8b28b30a98d91f99
Author: Davis King
Date: Mar 27, 2017 (17:00:37 UTC)

Changed from ctrl to alt because otherwise it's easy to accidentally hit ctrl up and jump when you don't meant to while pruning an image list.

Modified
tools/imglab/src/metadata_editor.cpp

Revision: 386305577dc83e18
Author: Davis King
Date: Mar 27, 2017 (16:13:39 UTC)

Changed to ctrl+d since it's easier to press.

Modified
tools/imglab/src/metadata_editor.cpp

Revision: 6154ad414637b54a
Author: Davis King
Date: Mar 27, 2017 (16:11:04 UTC)

Made it so you can remove images by pressing ctrl+r.

Modified
tools/imglab/src/main.cpp
tools/imglab/src/metadata_editor.cpp

Revision: 22568dfb174282f5
Author: Davis King
Date: Mar 24, 2017 (05:15:43 UTC)

Made it more obvious that this file is a cmake tutorial. Also added a few more comments about how to use cmake.

Modified
examples/CMakeLists.txt

Revision: e0aad42281e637fa
Author: Davis King
Date: Mar 22, 2017 (11:59:53 UTC)

merged

Modified
dlib/optimization/optimization_solve_qp_using_smo.h
dlib/optimization/optimization_solve_qp_using_smo_abstract.h

Revision: 465eff072b9d31fa
Author: Davis King
Date: Mar 22, 2017 (11:59:06 UTC)

Added another code path inside solve_qp_box_constrained_blockdiag() that is much faster when the off-diagonal vectors are all simple multiples of the ones_matrix().

Modified
dlib/optimization/optimization_solve_qp_using_smo.h
dlib/test/opt_qp_solver.cpp

Revision: a1458a5153637fe1
Author: Davis King
Date: Mar 22, 2017 (08:49:12 UTC)

Added missing requires clause.

Modified
dlib/optimization/optimization_solve_qp_using_smo.h
dlib/optimization/optimization_solve_qp_using_smo_abstract.h

Revision: 76cb31c027c18564
Author: Davis King
Date: Mar 22, 2017 (07:00:27 UTC)

Made the mex wrapper deal with cell arrays that have null elements.

Modified
dlib/matlab/mex_wrapper.cpp

Revision: bbcdc96dc4fb68e2
Author: Davis King
Date: Mar 21, 2017 (17:05:21 UTC)

Added age and gender fields to image metadata.

Modified
dlib/data_io/image_dataset_metadata.cpp
dlib/data_io/image_dataset_metadata.h

Revision: 26b9c3127cecd89d
Author: Davis King
Date: Mar 21, 2017 (05:50:01 UTC)

Removed unneeded code.

Modified
dlib/optimization/optimization_solve_qp_using_smo.h

Revision: d4bf051a4dd87384
Author: ebroglio
Date: Mar 18, 2017 (21:54:46 UTC)

dets cleared twice in evaluate_detectors of scan_fhog_pyramid.h (#487) already cleared at the beginning

Modified
dlib/image_processing/scan_fhog_pyramid.h

Revision: b11d0851a3019b42
Author: ebroglio
Date: Mar 18, 2017 (21:17:52 UTC)

remove unused variable in edge_list_graphs.h (#486)

Modified
dlib/graph_utils/edge_list_graphs.h

Revision: d6e70cc1c54f7f57
Author: Davis King
Date: Mar 20, 2017 (17:10:36 UTC)

Fixed error in pyramid_down<2> that caused the output image to be a little funny looking in some cases.

Modified
dlib/image_transforms/image_pyramid.h

Revision: 29e864121dcf27dc
Author: Davis King
Date: Mar 20, 2017 (12:41:22 UTC)

Added solve_qp_box_constrained_blockdiag()

Modified
dlib/optimization/optimization_solve_qp_using_smo.h
dlib/optimization/optimization_solve_qp_using_smo_abstract.h
dlib/test/opt_qp_solver.cpp

Revision: d290c16ba7d36831
Author: Davis King
Date: Mar 18, 2017 (09:00:16 UTC)

Fixed double delete

Modified
dlib/tokenizer/tokenizer_kernel_1.cpp

Revision: 7100036ec519f6aa
Author: Davis King
Date: Mar 16, 2017 (07:30:02 UTC)

Removed use of const_temp_matrix here because it prevents binding to BLAS.

Modified
dlib/optimization/optimization_solve_qp_using_smo.h

Revision: 05aded11b02710a3
Author: Davis King
Date: Mar 09, 2017 (15:53:35 UTC)

More possible intel arch strings.

Modified
dlib/cmake

Revision: f7969146a5e459cd
Author: Davis King
Date: Mar 09, 2017 (15:14:42 UTC)

Fixed cmake file to correctly enable C++11 by default.

Modified
tools/htmlify/CMakeLists.txt

Revision: c2286914c854bf5a
Author: Davis King
Date: Mar 07, 2017 (12:19:46 UTC)

Record last changeset and set PATCH version to 99

Modified
dlib/CMakeLists.txt
docs/.logger_revnum

Revision: 74c4985dfb28f1b9
Author: Davis King
Date: Mar 07, 2017 (12:18:27 UTC)

Created release v19.4

Modified
dlib/CMakeLists.txt


Old Change Logs