3333 LogSignal ,
3434 ONNXModelWrapper ,
3535 QuantileNormalization ,
36- QuantileNormalizationd ,
3736 RemapTensor ,
3837 Threshold ,
3938 WeightsDownloader ,
@@ -194,7 +193,7 @@ def load_folder(self):
194193 EnsureChannelFirstd (keys = ["image" ]),
195194 # Orientationd(keys=["image"], axcodes="PLI"),
196195 # anisotropic_transform,
197- QuantileNormalizationd (keys = ["image" ]),
196+ # QuantileNormalizationd(keys=["image"]),
198197 EnsureTyped (keys = ["image" ]),
199198 ]
200199 )
@@ -204,7 +203,7 @@ def load_folder(self):
204203 LoadImaged (keys = ["image" ]),
205204 # AddChanneld(keys=["image"]), #already done
206205 EnsureChannelFirstd (keys = ["image" ]),
207- QuantileNormalizationd (keys = ["image" ]),
206+ # QuantileNormalizationd(keys=["image"]),
208207 # Orientationd(keys=["image"], axcodes="PLI"),
209208 # anisotropic_transform,
210209 SpatialPadd (keys = ["image" ], spatial_size = pad ),
@@ -248,7 +247,7 @@ def load_layer(self):
248247 # anisotropic_transform,
249248 AddChannel (),
250249 # SpatialPad(spatial_size=pad),
251- QuantileNormalization (),
250+ # QuantileNormalization(),
252251 AddChannel (),
253252 EnsureType (),
254253 ],
@@ -263,7 +262,7 @@ def load_layer(self):
263262 ToTensor (),
264263 # anisotropic_transform,
265264 AddChannel (),
266- QuantileNormalization (),
265+ # QuantileNormalization(),
267266 SpatialPad (spatial_size = pad ),
268267 AddChannel (),
269268 EnsureType (),
@@ -301,10 +300,12 @@ def model_output(
301300 # logger.debug(f"model : {model}")
302301 logger .debug (f"inputs shape : { inputs .shape } " )
303302 logger .debug (f"inputs type : { inputs .dtype } " )
303+ normalizazion = QuantileNormalization ()
304304 try :
305305 # outputs = model(inputs)
306306
307307 def model_output_wrapper (inputs ):
308+ inputs = normalizazion (inputs )
308309 result = model (inputs )
309310 return post_process_transforms (result )
310311
0 commit comments