frankkramer-lab / aucmedi

a framework for Automated Classification of Medical Images
https://frankkramer-lab.github.io/aucmedi/
GNU General Public License v3.0
38 stars 12 forks source link

DataGenerator: Change to keras.Sequence & fix repitition issue #195

Closed muellerdo closed 1 year ago

muellerdo commented 1 year ago

Continue using keras.Sequence as DataGenerator for generating batches instead of switching to tf.datasets due to massive performance leaks.

codecov[bot] commented 1 year ago

Codecov Report

Merging #195 (5568cfa) into development (c774c05) will decrease coverage by 0.01%. The diff coverage is 97.53%.

@@               Coverage Diff               @@
##           development     #195      +/-   ##
===============================================
- Coverage        96.07%   96.07%   -0.01%     
===============================================
  Files              168      168              
  Lines             6935     6982      +47     
===============================================
+ Hits              6663     6708      +45     
- Misses             272      274       +2     
Flag Coverage Δ
unittests 96.07% <97.53%> (-0.01%) :arrow_down:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
setup.py 0.00% <ø> (ø)
aucmedi/data_processing/data_generator.py 91.04% <94.11%> (+0.47%) :arrow_up:
aucmedi/evaluation/metrics.py 96.96% <100.00%> (ø)
aucmedi/neural_network/model.py 98.61% <100.00%> (+0.01%) :arrow_up:
aucmedi/xai/methods/occlusion_sensitivity.py 100.00% <100.00%> (ø)
tests/test_datagenerator.py 100.00% <100.00%> (ø)
tests/test_ioloader.py 100.00% <100.00%> (ø)
tests/test_neuralnetwork.py 100.00% <100.00%> (ø)
tests/test_xai.py 100.00% <100.00%> (ø)

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more