• Juha Reunanen's avatar
    Add new loss layer for semantic segmentation (pixel-wise classification) (#540) · 4bc6c1e5
    Juha Reunanen authored
    * #288 - add new layer loss_multiclass_log_matrixoutput for semantic-segmentation purposes
    
    * In semantic segmentation, add capability to ignore individual pixels when computing gradients
    
    * In semantic segmentation, 65535 classes ought to be enough for anybody
    
    * Divide matrix output loss by matrix dimensions too, in order to make losses related to differently sized matrices more comparable
    - note that this affects the required learning rate as well!
    
    * Review fix: avoid matrix copy
    
    * Review fix: rename to loss_multiclass_log_per_pixel
    
    * Review fix: just use uint16_t as the label type
    
    * Add more tests: check that network params and outputs are correct
    
    * Improve error message when output and truth matrix dimensions do not match
    
    * Add test case verifying that a single call of loss_multiclass_log_per_pixel equals multiple corresponding calls of loss_multiclass_log
    
    * Fix test failure by training longer
    
    * Remove the test case that fails on Travis for some reason, even though it works on AppVeyor and locally
    4bc6c1e5
Name
Last commit
Last update
dlib Loading commit data...
docs Loading commit data...
examples Loading commit data...
python_examples Loading commit data...
tools Loading commit data...
.gitignore Loading commit data...
.hgignore Loading commit data...
.hgtags Loading commit data...
.travis.yml Loading commit data...
CMakeLists.txt Loading commit data...
MANIFEST.in Loading commit data...
README.md Loading commit data...
appveyor.yml Loading commit data...
setup.py Loading commit data...