1. 07 Dec, 2017 1 commit
    • Davis King's avatar
      Changed the windows signaler and mutex code to use the C++11 thread library instead of · 0ff862ae
      Davis King authored
      the old win32 functions.  I did this to work around how windows unloads dlls.  In particular, during dll unload
      windows will kill all threads, THEN it will destruct global objects.  So this leads to problems
      where a global obejct that owns threads tries to tell them to shutdown and everything goes wrong.
      The specific problem this code change fixes is when signaler::broadcast() is called
      on a signaler that was being waited on by one of these abruptly killed threads.  In that case, the old
      code would deadlock inside signaler::broadcast().  This new code doesn't seem to have that problem,
      thereby mitigating the windows dll unload behavior in some situations.
      0ff862ae
  2. 19 Nov, 2017 7 commits
  3. 18 Nov, 2017 6 commits
  4. 17 Nov, 2017 3 commits
  5. 16 Nov, 2017 1 commit
  6. 15 Nov, 2017 6 commits
    • Davis King's avatar
      Removed unneeded assert · 9f6ad63b
      Davis King authored
      9f6ad63b
    • Davis King's avatar
      b84e2123
    • Davis King's avatar
      Minor tweaks to spec · 36392bb2
      Davis King authored
      36392bb2
    • Davis King's avatar
      merged · 483e6ab4
      Davis King authored
      483e6ab4
    • Juha Reunanen's avatar
      Add semantic segmentation example (#943) · e48125c2
      Juha Reunanen authored
      * Add example of semantic segmentation using the PASCAL VOC2012 dataset
      
      * Add note about Debug Information Format when using MSVC
      
      * Make the upsampling layers residual as well
      
      * Fix declaration order
      
      * Use a wider net
      
      * trainer.set_iterations_without_progress_threshold(5000); // (was 20000)
      
      * Add residual_up
      
      * Process entire directories of images (just easier to use)
      
      * Simplify network structure so that builds finish even on Visual Studio (faster, or at all)
      
      * Remove the training example from CMakeLists, because it's too much for the 32-bit MSVC++ compiler to handle
      
      * Remove the probably-now-unnecessary set_dnn_prefer_smallest_algorithms call
      
      * Review fix: remove the batch normalization layer from right before the loss
      
      * Review fix: point out that only the Visual C++ compiler has problems.
      Also expand the instructions how to run MSBuild.exe to circumvent the problems.
      
      * Review fix: use dlib::match_endings
      
      * Review fix: use dlib::join_rows. Also add some comments, and instructions where to download the pre-trained net from.
      
      * Review fix: make formatting comply with dlib style conventions.
      
      * Review fix: output training parameters.
      
      * Review fix: remove #ifndef __INTELLISENSE__
      
      * Review fix: use std::string instead of char*
      
      * Review fix: update interpolation_abstract.h to say that extract_image_chips can now take the interpolation method as a parameter
      
      * Fix whitespace formatting
      
      * Add more comments
      
      * Fix finding image files for inference
      
      * Resize inference test output to the size of the input; add clarifying remarks
      
      * Resize net output even in calculate_accuracy
      
      * After all crop the net output instead of resizing it by interpolation
      
      * For clarity, add an empty line in the console output
      e48125c2
    • Sebastian Höffner's avatar
  7. 14 Nov, 2017 5 commits
  8. 13 Nov, 2017 3 commits
  9. 12 Nov, 2017 1 commit
  10. 11 Nov, 2017 7 commits