3333 LogSignal ,
3434 ONNXModelWrapper ,
3535 QuantileNormalization ,
36+ QuantileNormalizationd ,
3637 RemapTensor ,
3738 Threshold ,
3839 WeightsDownloader ,
@@ -193,7 +194,7 @@ def load_folder(self):
193194 EnsureChannelFirstd (keys = ["image" ]),
194195 # Orientationd(keys=["image"], axcodes="PLI"),
195196 # anisotropic_transform,
196- # QuantileNormalizationd(keys=["image"]),
197+ QuantileNormalizationd (keys = ["image" ]),
197198 EnsureTyped (keys = ["image" ]),
198199 ]
199200 )
@@ -203,7 +204,7 @@ def load_folder(self):
203204 LoadImaged (keys = ["image" ]),
204205 # AddChanneld(keys=["image"]), #already done
205206 EnsureChannelFirstd (keys = ["image" ]),
206- # QuantileNormalizationd(keys=["image"]),
207+ QuantileNormalizationd (keys = ["image" ]),
207208 # Orientationd(keys=["image"], axcodes="PLI"),
208209 # anisotropic_transform,
209210 SpatialPadd (keys = ["image" ], spatial_size = pad ),
@@ -247,7 +248,7 @@ def load_layer(self):
247248 # anisotropic_transform,
248249 AddChannel (),
249250 # SpatialPad(spatial_size=pad),
250- # QuantileNormalization(),
251+ QuantileNormalization (),
251252 AddChannel (),
252253 EnsureType (),
253254 ],
@@ -262,7 +263,7 @@ def load_layer(self):
262263 ToTensor (),
263264 # anisotropic_transform,
264265 AddChannel (),
265- # QuantileNormalization(),
266+ QuantileNormalization (),
266267 SpatialPad (spatial_size = pad ),
267268 AddChannel (),
268269 EnsureType (),
@@ -300,12 +301,12 @@ def model_output(
300301 # logger.debug(f"model : {model}")
301302 logger .debug (f"inputs shape : { inputs .shape } " )
302303 logger .debug (f"inputs type : { inputs .dtype } " )
303- normalizazion = QuantileNormalization ()
304+ # normalization = QuantileNormalization()
304305 try :
305306 # outputs = model(inputs)
306307
307308 def model_output_wrapper (inputs ):
308- inputs = normalizazion (inputs )
309+ # inputs = normalization (inputs)
309310 result = model (inputs )
310311 return post_process_transforms (result )
311312
0 commit comments