"vscode:/vscode.git/clone" did not exist on "f03ca0f93fe11c7d5f0b1cf71dde6f9adecf6299"
  1. 09 Dec, 2020 1 commit
  2. 07 Dec, 2020 1 commit
  3. 04 Dec, 2020 2 commits
    • Davis King's avatar
      Some systems manage to install cuda in a way that causes cmake to claim · f42a6d23
      Davis King authored
      that cuda is available even though it knows it didn't find cublas, which
      is part of the standard cuda install.  So we need to add a check to see
      if cmake *really for realz* found cuda.
      f42a6d23
    • pfeatherstone's avatar
      Adding exponential and weibull distributions (#2247) · 0ff61299
      pfeatherstone authored
      
      
      * Added exponential distribution
      
      * tab problem removed?
      
      * forgot std::
      
      * Also added Weibull distribution. Very useful indeed.
      
      * Simple Weibull distribution unit test
      
      * don't forget std::
      
      * sorry, typo
      
      * [RAND] 	- seed the random number generators for consistency and no nasty surprises
      		- added parameter for tolerance
      		- added unit test for exponential distribution
      
      * [RAND] print the spinner more often
      
      * [RAND] up the tolerance for kurtosis a bit
      
      * [RAND] refactored parameters to reflect documentation on wikipedia.
      
      * [RAND] added documentation to _abstract
      
      * [RAND] i switched the order of the arguments to get_random_weibull and didn't update the unit tests. oops
      Co-authored-by: default avatarpf <pf@pf-ubuntu-dev>
      0ff61299
  4. 29 Nov, 2020 2 commits
    • Davis King's avatar
      minor cleanup · e58da513
      Davis King authored
      e58da513
    • Adrià Arrufat's avatar
      Add CIFAR-10 dataset loader (#2245) · d3b02131
      Adrià Arrufat authored
      * fix typos
      
      * add cifar-10
      
      * open files in binary mode
      
      * print messages with file name only, like mnist loader
      
      * some fixes
      
      * add mnist.cpp to CMakeLists.txt
      
      * fix test index
      
      * do not use iterator in cast
      
      * add cifar.cpp to all
      
      * Add Davis' suggestions
      
      * no need to use namespace std and clean up empty lines
      d3b02131
  5. 25 Nov, 2020 2 commits
    • pfeatherstone's avatar
      Fixes bug when (de)serializing vector<complex<float>> (#2244) · d9e58d66
      pfeatherstone authored
      
      
      * [SERIALIZATION] fixed bug when (de)serializing vector<complex<float>>. DLIB_DEFINE... macro uses __out and __in variables names for ostream and istream objects respectively to avoid member variable name conflicts.
      
      * Refactoring objects in DLIB_DEFINE_DEFAULT_SERIALIZATION to avoid name conflicts with user types
      
      * Refactoring objects in DLIB_DEFINE_DEFAULT_SERIALIZATION to avoid name conflicts with user types
      
      * removed tabs
      
      * removed more tabs
      Co-authored-by: default avatarpf <pf@pf-ubuntu-dev>
      d9e58d66
    • Adrià Arrufat's avatar
      Rename function to disable_duplicative_biases (#2246) · a7627cbd
      Adrià Arrufat authored
      * Rename function to disable_duplicative_biases
      
      * rename also the functions in the tests... oops
      a7627cbd
  6. 21 Nov, 2020 2 commits
  7. 18 Nov, 2020 1 commit
  8. 17 Nov, 2020 1 commit
  9. 15 Nov, 2020 1 commit
  10. 13 Nov, 2020 1 commit
  11. 08 Nov, 2020 2 commits
  12. 21 Oct, 2020 1 commit
  13. 20 Oct, 2020 1 commit
    • Adrià Arrufat's avatar
      Add Layer Normalization (#2213) · 3c82c225
      Adrià Arrufat authored
      * wip: layer normalization on cpu
      
      * wip: add cuda implementation, nor working yet
      
      * wip: try to fix cuda implementation
      
      * swap grid_strid_range and grid_strid_range_y: does not work yet
      
      * fix CUDA implementation
      
      * implement cuda gradient
      
      * add documentation, move layer_norm, update bn_visitor
      
      * add tests
      
      * use stddev instead of variance in test (they are both 1, anyway)
      
      * add test for means and invstds on CPU and CUDA
      
      * rename visitor to disable_duplicative_bias
      
      * handle more cases in the visitor_disable_input_bias
      
      * Add tests for visitor_disable_input_bias
      3c82c225
  14. 14 Oct, 2020 1 commit
  15. 10 Oct, 2020 1 commit
  16. 09 Oct, 2020 2 commits
  17. 06 Oct, 2020 1 commit
    • Adrià Arrufat's avatar
      Test cuda losses (#2199) · c45d166a
      Adrià Arrufat authored
      * add cuda test for loss_binary_log_per_pixel and some needed refactoring
      
      * add cuda test for loss_multiclass_log_per_pixel
      
      * forgot to add cpu version in loss
      
      * remove a line I added by mistake
      
      * fix typos
      
      * declare label_to_ignore as static
      
      * use tensor_index function instead of index method
      
      * test cuda and cpu gradients values
      
      * use DLIB_TEST instead of DLIB_CASSERT
      c45d166a
  18. 30 Sep, 2020 1 commit
  19. 25 Sep, 2020 3 commits
  20. 24 Sep, 2020 1 commit
  21. 19 Sep, 2020 2 commits
    • Davis King's avatar
      update docs · 20a14772
      Davis King authored
      20a14772
    • pfeatherstone's avatar
      Extended proxy_(de)serialize objects to work with stringstream, ostringstream,... · ab346ddf
      pfeatherstone authored
      
      Extended proxy_(de)serialize objects to work with stringstream, ostringstream, istringstream and vector<char> (#2181)
      
      * [DLIB] extended proxy objects to work with strinstream, istringstream, ostringstream and vector<char>
      
      * [DLIB]  - use std::istream and std::ostream instead of std::istringstream, std::ostringstream and std::stringstream.
      		- put back the filename member variable for better error messages
      
      * [DLIB]  - review requirement
      Co-authored-by: default avatarpf <pf@pf-ubuntu-dev>
      ab346ddf
  22. 18 Sep, 2020 1 commit
  23. 17 Sep, 2020 1 commit
    • pfeatherstone's avatar
      vectorstream updates: added seekoff and seekpos (#2179) · d4fe74b5
      pfeatherstone authored
      
      
      * [DLIB] added seekpos and seekoff functions. These are necessary for functions in iostream base class to work properly. e.g. seekg. Note that in seekoff, you do NOT want to check the validity of read_pos after it has been updated. dlib::vectorstream and std::iostream work together to set EOF and/or badbit. Doing something like seekg(10000) should not throw even if the underlying buffer has 2 bytes. You should check if EOF is set and possibly call clear(). We have removed seekg from dlib::vectorstream as this adds confusion. Now std::iostream::seekg is called which somewhere down the callstack will call seekpos and/or seekoff. So there should be no diverging functionality between calling seekg on dlib::vectorstream& or std::iostream& when there is a cast.
      
      * [DLIB] vectorstream unit test is updated to run identical tests on dlib::vectorstream& and std::iostream&
      
      * [DLIB] only support read pointers and delete copy and move semantics
      
      * [DLIB] explicit tests for seekg() in different directions
      
      * [DLIB]  - no need to delete the move constructor and move assign operator. This is implicitly done by deleting the copy constructor and copy assign operator.
      
      * [DLIB]  - remove leftover comments. no need
      		- use more idiomatic notation
      Co-authored-by: default avatarpf <pf@pf-ubuntu-dev>
      d4fe74b5
  24. 13 Sep, 2020 2 commits
  25. 12 Sep, 2020 1 commit
  26. 08 Sep, 2020 1 commit
  27. 06 Sep, 2020 4 commits