• Juha Reunanen's avatar
    Add U-net style skip connections to the semantic-segmentation example (#1600) · f685cb42
    Juha Reunanen authored
    * Add concat_prev layer, and U-net example for semantic segmentation
    
    * Allow to supply mini-batch size as command-line parameter
    
    * Decrease default mini-batch size from 30 to 24
    
    * Resize t1, if needed
    
    * Use DenseNet-style blocks instead of residual learning
    
    * Increase default mini-batch size to 50
    
    * Increase default mini-batch size from 50 to 60
    
    * Resize even during the backward step, if needed
    
    * Use resize_bilinear_gradient for the backward step
    
    * Fix function call ambiguity problem
    
    * Clear destination before adding gradient
    
    * Works OK-ish
    
    * Add more U-tags
    
    * Tweak default mini-batch size
    
    * Define a simpler network when using Microsoft Visual C++ compiler; clean up the DenseNet stuff (leaving it for a later PR)
    
    * Decrease default mini-batch size from 24 to 23
    
    * Define separate dnn filename for MSVC++ and not
    
    * Add documentation for the resize_to_prev layer; move the implementation so that it comes after mult_prev
    
    * Fix previous typo
    
    * Minor formatting changes
    
    * Reverse the ordering of levels
    
    * Increase the learning-rate stopping criterion back to 1e-4 (was 1e-8)
    
    * Use more U-tags even on Windows
    
    * Minor formatting
    
    * Latest MSVC 2017 builds fast, so there's no need to limit the depth any longer
    
    * Tweak default mini-batch size again
    
    * Even though latest MSVC can now build the extra layers, it does not mean we should add them!
    
    * Fix naming
    f685cb42
dnn_semantic_segmentation_ex.cpp 6.35 KB