1. 21 Feb, 2022 3 commits
  2. 20 Feb, 2022 1 commit
  3. 18 Feb, 2022 1 commit
  4. 13 Feb, 2022 1 commit
  5. 12 Feb, 2022 2 commits
    • Adrià Arrufat's avatar
      Add get_random_beta to dlib::rand (#2499) · 7f8731a2
      Adrià Arrufat authored
      
      
      * Add get_random_beta
      
      * simplify beta distribution generation
      
      * add tests
      
      * fix condition and use full names for shape parameters
      
      * remove unneeded include
      
      * match test types to prevent Windows from failing tests
      
      * Revert "remove unneeded include"
      
      This reverts commit 35f55a96e91f4c4340a0bda344c494f1ce68d521.
      
      * Revert "match test types to prevent Windows from failing tests"
      
      This reverts commit a990307066e99cb56e15ae5de63e67e29cc72911.
      
      * Revert "Revert "remove unneeded include""
      
      This reverts commit 59be002c9e8b8a6ac395d87e6bf9d4b57af19d28.
      
      * fix outdated message in DLIB_CASSERT
      
      * relax mpc condition again
      
      * Revert "relax mpc condition again"
      
      This reverts commit 1d208c5dcf1ddc15e09e68e1e2e11145506729ae.
      
      * Loop while both alpha and beta are zero
      
      * Update dlib/rand/rand_kernel_abstract.h
      Co-authored-by: default avatarDavis E. King <davis685@gmail.com>
      7f8731a2
    • Juha Reunanen's avatar
      48f11679
  6. 07 Feb, 2022 5 commits
  7. 04 Feb, 2022 1 commit
  8. 03 Feb, 2022 7 commits
    • Davis King's avatar
      Add more unit tests for dlib::rand · fda984f7
      Davis King authored
      fda984f7
    • Adrià Arrufat's avatar
      Relax MPC test for macOS (#2500) · fc7595d0
      Adrià Arrufat authored
      fc7595d0
    • Davis King's avatar
    • Davis King's avatar
      Make -q on tests print errors · 28328af5
      Davis King authored
      28328af5
    • Adrià Arrufat's avatar
      Add Reorg Layer (#2496) · ffca3b3a
      Adrià Arrufat authored
      
      
      * 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: default avatarDavis E. King <davis@dlib.net>
      ffca3b3a
    • Adrià Arrufat's avatar
      c91959a7
    • Adrià Arrufat's avatar
      GitHub actions (#2289) · 027fb781
      Adrià Arrufat authored
      * add github actions from "ptheywood/cuda-cmake-github-actions"
      
      * fix typo
      
      * rename
      
      * Revert "rename"
      
      This reverts commit ded445f3bb5b3190ec4ddc62876cb45b60d7948e.
      
      * add cudnn env variable
      
      * remove old cuda configs and try to fix installation
      
      * add run tests
      
      * fix test path
      
      * actually build tests
      
      * fix missing $
      
      * fix syntax
      
      * debug test path
      
      * fix test build dir
      
      * fix cmake syntax
      
      * fix working directory
      
      * Revert "debug test path"
      
      This reverts commit 6d5b4e7a1fa9270281ad92f863a3ea4fe0b718a0.
      
      * uncomment other configurations
      
      * fix run test path
      
      * fix test run dir again
      
      * syntax
      
      * it's really not my day...
      
      * remove incompatible configs and make tests run silently
      
      * add initial windows script from ptheywood/cuda-cmake-github-actions
      
      * fix windows script path
      
      * add test for windows
      
      * remove dot slash
      
      * install cublas_dev
      
      * try adding cudnn (I really need a Windows machine to test this)
      
      * remove windows workflow scripts
      
      * try config with ubuntu 20.10
      
      * fix syntax error
      
      * try to fix DLIB not using CUDA
      
      * try again with ubuntu 20.04
      
      * remove backticks
      
      * remove superfluous configure step
      
      * fix cuda parsing for v10.2
      
      * debug test
      
      * change working dir...
      
      * do not run test silently
      
      * install nvidia drivers
      
      * only install server drivers
      
      * load nvidia kernel module
      
      * move module loading to script
      
      * try to fix kernel module loading
      
      * add simple github actions workflow
      
      * add simple github actions workflow
      
      * fix path?
      
      * fix config step
      
      * only build the dtest target
      
      * handle Windows path
      
      * use ./ on windows
      
      * debugging
      
      * debugging
      
      * debugging
      
      * except for the timer test on macOS, the rest works
      
      * remove cuda custom tests, for the moment
      
      * build in Relase mode to try to avoid timeout on Windows
      
      * debugging
      
      * actually change build config
      
      * do not test the timer on macOS
      
      * try building python
      027fb781
  9. 02 Feb, 2022 1 commit
  10. 30 Jan, 2022 1 commit
  11. 28 Jan, 2022 1 commit
  12. 25 Jan, 2022 7 commits
  13. 24 Jan, 2022 2 commits
  14. 23 Jan, 2022 3 commits
    • Adrià Arrufat's avatar
      2ed6ae1b
    • Adrià Arrufat's avatar
      Fix Layer Normalize (#2489) · 3da3e811
      Adrià Arrufat authored
      * Fix Layer Normalize
      
      * remove unneeded temporary variables
      3da3e811
    • pfeatherstone's avatar
      [TYPE_SAFE_UNION] simplified some type traits and added for_each(). (#2475) · aaac87a2
      pfeatherstone authored
      * [TYPE_SAFE_UNION] simplified some type traits and added for_each().
      
      * added example serialization/deserialization using typeid().hash_code and different type_safe_union types
      
      * in_place_tag is an empty struct. so don't pass const references, you're unecessarily passing 8 bytes around for now reason
      
      * - added variant_size for type_safe_union
      - added variant_alternative for type_safe_union
      - removed for type_safe_union::for_each() and replaced with global function dlib::for_each_type()
      
      * - made visit() a global
      
      * use dlib::invoke explicitly
      
      * - for_each_type is implemented using fold expression (or whatever the right term is) instead of template recursion. This method, in theory, yields better compile times. And if you're familiar with parameter packs, then the implementation is easier to read.
      
      * - refactoring
      - reordered function parameters in for_each_type()
      - vtable implementation of apply_to_contents and visit() (sorry Davis for yet another change)
      
      * add option to not zero out gradients and method to do it (#2477)
      
      * Avoid different kinds of compiler warnings (#2481)
      
      * Avoid different kinds of compiler warnings that started to appear when upgrading my build environment
      
      * Avoid more compiler warnings
      
      * Revert the overly verbose static_cast changes
      
      * Make resize_bilinear and resize_bilinear_gradient take long long (previously just long)
      
      * Circumvent what appears to be a bug in Visual Studio 2019's optimizer
      (see: https://forum.juce.com/t/warning-in-the-lastest-vs2019/38267
      
      )
      
      * Fix MSVC pragma warnings with other compilers (#2483)
      
      * Fix warning about unused zero_gradients parameter (#2487)
      
      * Fix warning about unused zero_gradients parameter
      
      * match signature of other methods
      
      * cleanup
      Co-authored-by: default avatarpfeatherstone <peter@me>
      Co-authored-by: default avatarAdrià Arrufat <1671644+arrufat@users.noreply.github.com>
      Co-authored-by: default avatarJuha Reunanen <juha.reunanen@tomaattinen.com>
      Co-authored-by: default avatarDavis King <davis@dlib.net>
      aaac87a2
  15. 15 Jan, 2022 1 commit
  16. 10 Jan, 2022 1 commit
  17. 06 Jan, 2022 1 commit
  18. 05 Jan, 2022 1 commit