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 13 forks source link

Ensemble: Allow metric support - Pickling issue #144

Open muellerdo opened 2 years ago

muellerdo commented 2 years ago

Tensorflow keras metrics are not pickle-able (you get cryptic errors about missing state updates).

Thus, passing metrics into subprocesses of ensemble learning functions (like composite, stacking and bagging) are not possible.

Find solution fix for this issue.

Starting point: Finding out why tensorflow keras metrics throws errors if you pickle them (with dill).