Is your feature request related to a problem? Please describe.
I just ran inference on a dataset, some of the nifti files contain Nan. My resulting segmentations where empty due to this.
Describe the solution you'd like
Monai should run np.nan_to_numon the array in the nifti loader or at least throw a warning.
Describe alternatives you've considered
warning or np.nan_to_num
Thanks :)
Is your feature request related to a problem? Please describe.
I just ran inference on a dataset, some of the nifti files contain Nan. My resulting segmentations where empty due to this.
Describe the solution you'd like
Monai should run
np.nan_to_numon the array in the nifti loader or at least throw a warning.Describe alternatives you've considered
warning or
np.nan_to_numThanks :)