Warnings about unused variables are quenched by simply incrementing the
variables in question. This makes the try_compile() call in CMake
succeed without warnings when checking for C++11 compatibility and using
-Wall.
When propagating the option "-Xclang -fcxx-exceptions" to targets
linking to dlib, the options with quotes are unknown to clang-cl.
Removing the quotes and splitting the arguments into two works fine.
When compiling with other compilers than MSVC, error messages about
C++11 support for versions below MSVC version 19.0.24210.0 were printed.
This happens, for example, when using clang-cl installed with the Visual
Studio Installer.
Notably, set_all_bn_running_stats_window_sizes and fuse_layers.
But also I took the chance to remove the superflous separators and
change the attribute of upsample layers from stride to scale.
* Fix Barlow Twins loss gradient
* Update reference test accuracy after fix
* Round the empirical cross-correlation matrix
Just a tiny modification that allows the values to actually reach 255 (perfect white).
* Make github actions run the python unit tests
* why don't the pyhton tests run?
* run python tests
* don't run tests twice
* don't run cmake tests twice
* rename the CMake test to C++ since it's testing the C++ part of the library
And the python build uses cmake too, which makes the naming somewhat
confusing
* work around macos
* oops, fix spelling error
* 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 35f55a96e9.
* Revert "match test types to prevent Windows from failing tests"
This reverts commit a990307066.
* Revert "Revert "remove unneeded include""
This reverts commit 59be002c9e.
* fix outdated message in DLIB_CASSERT
* relax mpc condition again
* Revert "relax mpc condition again"
This reverts commit 1d208c5dcf.
* Loop while both alpha and beta are zero
* Update dlib/rand/rand_kernel_abstract.h
Co-authored-by: Davis E. King <davis685@gmail.com>
* add github actions from "ptheywood/cuda-cmake-github-actions"
* fix typo
* rename
* Revert "rename"
This reverts commit ded445f3bb.
* 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 6d5b4e7a1f.
* 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