NKI-AI / ahcore

Ahcore is the AI for Oncology core computational pathology toolkit
Apache License 2.0
15 stars 1 forks source link

Reduce precision of tensors while H5 Writing. #50

Closed AjeyPaiK closed 7 months ago

AjeyPaiK commented 8 months ago

Is your feature request related to a problem? Please describe. It annoys me that H5 files are huge even though these are just model outputs. It would be useful to reduce the precision of the tensors when we dump them to disk. Additionally, it might be nice to have a compression.

Describe the solution you'd like Have an additional parameter in H5FileImageWriter which can be used to change the precision.

Describe alternatives you've considered N/A

Additional context N/A