Commit Graph

1350 Commits

Author SHA1 Message Date
Adrià Arrufat bf273a8c2e
Add multiclass SVM trainer to svm/auto.h (#2642)
* Add multiclass SVM trainer to svm/auto.h

* Use a matrix<double> and add an overload for matrix<float>

* Replace typedef with using and use normalizer from normalized_function

* Remove extra ;

* use better names for decision function variables

* fix comments format and grammar

* remove unneeded includes

* Update dlib/svm/auto_abstract.h

* Update the assert to use 3 samples (as there is 3 fold CV)

* Remove unneeded captures in lambda

* Update dlib/svm/auto_abstract.h

* Update dlib/svm/auto_abstract.h

Co-authored-by: Davis E. King <davis685@gmail.com>
2022-08-17 19:29:04 -04:00
Adrià Arrufat 550a5744de
Use chrono in console progress indicator and add finish method (#2617)
* Use chrono in console progress indicator and add finish method

* Default print status to std::clog

* Print ellapsed time in parallel_for_verbose

* Fix typo

* Fix typo again

* Update release notes

* Fix spacing
2022-07-06 20:05:22 -04:00
Adrià Arrufat 1de7924694
Fix saving grayscale WebP images (#2591) 2022-05-29 10:53:01 -04:00
Davis King c9a25fda0a update docs 2022-05-08 10:53:24 -04:00
Davis King 842931975e Record last changeset and set PATCH version to 99 2022-05-08 10:35:36 -04:00
Davis King 76a9a10736 update docs 2022-05-08 10:28:58 -04:00
Davis King aff6bc4402 make sphinx doc building work on newer versions of ubuntu 2022-05-08 10:08:55 -04:00
Adrià Arrufat a76f205bf6
Add webp support (#2565)
* Add BGR(A) to pixel_traits

* add support for reading webp

* Apply Davis' suggestions and fix formatting

* Fix signed/unsigned warning

* Update decoding paths

* update pixel traits documentation

* Add support for writing WebP images

* Simplify image_saver code

* WIP: add tests, PSNR is low but images look good

* Add lossless compression for quality > 100

* Fix build when WebP support is disabled

* Use C++ stream instead of C-style FILE

* Fix indentation

* Use reinterpret_cast instead of C-style cast

* Improve impl::impl_save_webp signature

* Remove empty line

* Use switch statement and clean up code

* Update Copyright and test libwebp on Linux

* Fix formatting in github workflow

* Fix operator== for bgr_alpha_pixel

* Show where the test fails

* Add libwebp to CI for the remaining Linux workflows

* Use filename consistently

* Improve message with wrong pixel type

* Fix tests for WebP images

* Prevent saving images which are too large and improve error messages

* Use max dimension from WebP header directly

* Update documentation, index and release notes

* Update dlib/image_saver/save_webp_abstract.h

Co-authored-by: Martin T. H. Sandsmark <martin.sandsmark@kde.org>
Co-authored-by: Davis E. King <davis685@gmail.com>
2022-04-19 07:52:12 -04:00
Adrià Arrufat 3a267db577 Fix entry in term_index.html 2022-04-12 08:22:13 -04:00
Adrià Arrufat 45f742b82b Update docs 2022-04-12 08:22:13 -04:00
Adrià Arrufat 23c74af872 Add directory_exists 2022-04-06 22:37:52 -04:00
Adrià Arrufat 1b7053fe9d
Add focal gamma to loss_multibinary_log (#2546)
* Add focal gamma to loss_multibinary_log

* update release notes
2022-03-21 22:04:21 -04:00
Adrià Arrufat f1a29f3595
Update docs (#2544)
* Update docs

* escape & in git_logs_as_xml
2022-03-14 08:39:42 -04:00
Adrià Arrufat 12f1b3a305
Refactor visitors into their own header (#2533)
* Refactor visitors into their own header

* Update visitor links in term index

* Move documentation from layers_abstract
2022-03-05 07:58:13 -05:00
Adrià Arrufat ffca3b3a6d
Add Reorg Layer (#2496)
* Add Reorg Layer

* Add Reorg Layer

* Fix typo

* fix grammar

* add missing input <-> output mappings to reorg

* Add reorg docs and term index entry

* Update dlib/cuda/tensor_tools.h

Co-authored-by: Davis E. King <davis@dlib.net>
2022-02-02 22:29:01 -05:00
Adrià Arrufat 3d4c14e633
Add input_rgb_image_pair layer and new net visitors documentation (#2497)
* Add input_rgb_image layer documentation

* fix typo

* Add index entries for missing network visitors

* update Barlow Twins loss links

* add missing yolo rect docs, links to yolo paper and better Barlow Twins formatting
2022-02-02 08:36:48 -05:00
Adrià Arrufat 21651f498e
Add missing docs for v19.23 (#2495)
* Add missing docs for v19.23

* remove duplicate yolo entry

* fix link of loss_yolo_ in term_index
2022-01-30 13:17:40 -05:00
Davis King 54af1f85f8 Record last changeset and set PATCH version to 99 2022-01-24 22:16:28 -05:00
Davis King 0cba4bacb3 updated docs 2022-01-24 22:09:45 -05:00
Davis King 02b290e3fb update release notes 2022-01-24 08:35:47 -05:00
Davis King 0a5d5a2c68 updated old message to not say we use mercurial still 2021-08-14 10:42:11 -04:00
Davis King 01e6fd51f9 Record last changeset and set PATCH version to 99 2021-03-28 09:22:07 -04:00
Davis King f152a78a56 updated docs 2021-03-28 09:17:30 -04:00
Davis King c14ba4847e Rename POSIX macro to DLIB_POSIX to avoid name clashes with some libraries. 2020-09-01 09:30:52 -04:00
Davis King f55a1a51a0 fix python code index page.
The recent change to use a dlib/__init__.py file instead of the dlib.so file directly messed it up.
2020-08-13 09:00:27 -04:00
Davis King 02e70ce3ca Record last changeset and set PATCH version to 99 2020-08-08 15:30:37 -04:00
Davis King 2e64bdd449 update docs 2020-08-08 15:25:53 -04:00
Davis King 8910445a7a fix some spelling and grammar errors 2020-08-07 15:41:42 -04:00
Davis King c90362d852 updated release notes 2020-08-02 08:20:44 -04:00
Davis King 53b6ea3bf5 Record last changeset and set PATCH version to 99 2020-06-06 14:58:34 -04:00
Davis King 610aa6349a updated docs 2020-06-06 14:52:21 -04:00
Davis King 3d738e1c2d sanitize git logs for export to html 2020-06-06 14:26:27 -04:00
Davis King 2c7e625a15 Record last changeset and set PATCH version to 99 2019-12-14 14:10:30 -05:00
Davis King 591331f941 updated docs 2019-12-14 14:07:20 -05:00
Davis King df2bbd8a2c Record last changeset and set PATCH version to 99 2019-09-22 14:59:28 -04:00
Davis King f4a3d09a9d updated docs and release notes 2019-09-22 14:57:02 -04:00
Paul Dreik 8a2963d758 fix mismatch between documentation and implementation (#1835) 2019-07-19 06:38:56 -04:00
Davis King 0268e27481 updated docs 2019-03-14 07:59:22 -04:00
Davis King 579a41d523 Record last changeset and set PATCH version to 99 2019-03-10 11:09:53 -04:00
Davis King 590a9a11b1 updated docs 2019-03-10 11:01:50 -04:00
Davis King 55d5750286 updated docs 2019-03-10 10:48:53 -04:00
Davis King 533e7a3740 updated release notes 2019-03-10 10:23:50 -04:00
Davis King ba206da012 Switched doc making scripts to pull info from git instead of hg. 2019-03-03 11:22:25 -05:00
Davis King 12646178ee updated docs 2019-02-18 07:59:14 -05:00
Davis King 6b5b461dd0 updated docs 2019-01-06 15:38:11 -05:00
Davis King 9b82f4b0f6 Record last changeset and set PATCH version to 99 2018-09-29 09:05:19 -04:00
Davis King fe10f254f5 updated release notes 2018-09-29 08:26:42 -04:00
Davis King 603e5ac212 clarified language. 2018-08-29 22:42:36 -04:00
Davis King c5ba5d5662 A vain attempt to get people to read the manual. 2018-08-29 22:24:07 -04:00
Davis King 0b597bbe98 updated docs 2018-08-29 21:55:11 -04:00