funkelab / gunpowder

A library to facilitate machine learning on multi-dimensional images.
https://funkelab.github.io/gunpowder/
MIT License
79 stars 56 forks source link

Add probability option to aug nodes #192

Closed sheridana closed 1 year ago

sheridana commented 1 year ago

Pre-Merge Checklist:

codecov-commenter commented 1 year ago

Codecov Report

Merging #192 (d29cbb9) into dev-v1.4 (a33e5b4) will decrease coverage by 0.03%. The diff coverage is 93.75%.

@@             Coverage Diff              @@
##           dev-v1.4     #192      +/-   ##
============================================
- Coverage     67.60%   67.58%   -0.03%     
============================================
  Files            98       98              
  Lines          6829     6854      +25     
============================================
+ Hits           4617     4632      +15     
- Misses         2212     2222      +10     
Files Coverage Δ
gunpowder/nodes/batch_filter.py 91.08% <100.00%> (+0.18%) :arrow_up:
gunpowder/nodes/deform_augment.py 91.54% <100.00%> (+0.12%) :arrow_up:
gunpowder/nodes/elastic_augment.py 84.36% <100.00%> (+0.19%) :arrow_up:
gunpowder/nodes/intensity_augment.py 94.73% <100.00%> (+0.61%) :arrow_up:
gunpowder/nodes/noise_augment.py 100.00% <100.00%> (ø)
gunpowder/nodes/shift_augment.py 99.24% <100.00%> (+0.01%) :arrow_up:
gunpowder/nodes/simple_augment.py 93.58% <100.00%> (+0.12%) :arrow_up:
gunpowder/nodes/defect_augment.py 13.10% <33.33%> (+0.42%) :arrow_up:

... and 1 file with indirect coverage changes