* Add some improvements to the YOLO loss layer
Notably:
- stabilized bounding box regression loss during training by smoothing the gradient
- added the possibility to compute the iou_anchor_threshod adaptively with ATSS
(adaptive training sample selection)
- make use of the detection_confidence field in the truth box for class balanced loss
- added an optional gamma parameter to be able to use the focal loss in the classifier
* Added method to return a non-const reference to yolo_options
Also added the gamma_cls to loss_details operator<<
* Add focal gamma for objectness, too
* Fix yolo_options deserialization logic
* Remove non-const reference method to yolo_options
* use weight only for positive class, and be more consistent with floating types
* 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
* [TYPE_SAFE_UNION] removed explicit swap(). let the compiler define swap from move semantics
* - added type traits:
are_nothrow_move_construtible
are_nothrow_move_assignable
are_nothrow_copy_construtible
are_nothrow_copy_assignable
- everything has (conditional) noexcept specifiers
* - formatting
- bug fix
* - added .swap() back in
* - type traits
- added .swap(item) and swap(a,b) back in, but with some cleanup and all the noexcept
* added docs for swap(a,b) back in
Co-authored-by: pfeatherstone <peter@me>
* 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>