Monai, Medical Imaging, Pytorch, Triton Inference Server, Torchserve.
data.append(tmp) return data The preprocessing function, as it is aptly called, takes a filename data_fn. It loads the data from the specified data directory and performs preprocessing using the MONAI transform chain. In this particular case, the Nifti image is loaded and resized to a spatial size