This throws an error when the config files contain no values for these parameters:
To Reproduce
Run either the segmentation training or the inference in ahcore without specifying values for InferencePrecision and NormalizationTypes in the callback config files.
Expected behavior
NA
Environment
dlup version: 0.3.35
How installed: pip
Python version: 3.10
Operating System: Linux
Describe the bug When we initialize the
H5FileImageWriter
callback, the default types for NormalizationType and InferencePrecison are set in this way:https://github.com/NKI-AI/ahcore/blob/25cfc2c4d03ea351f2870288b1fba554bfd6adb8/ahcore/callbacks/h5_callback.py#L26-L27
This throws an error when the config files contain no values for these parameters:
To Reproduce Run either the segmentation training or the inference in ahcore without specifying values for
InferencePrecision
andNormalizationTypes
in the callback config files.Expected behavior NA
Environment dlup version: 0.3.35 How installed: pip Python version: 3.10 Operating System: Linux
Additional context NA