Monai, Medical Imaging, Pytorch, Triton Inference Server, Torchserve.
ScaleIntensityRange(a_min=20, a_max=1200, b_min=0, b_max=1, clip=True), AddChannel()]) fn = data_fn[0]['filename'].decode() img_fullname = os.path.join(input_dir, fn) data = [] batch_size = 1 for i in range(batch_size): tmp = {} print(img_fullname) tmp["data"] = transforms(img_fullname)