Skip to content

Commit 0f81dde

Browse files
committed
Revert "Update worker_inference.py"
This reverts commit 1ba48da.
1 parent 1ba48da commit 0f81dde

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

napari_cellseg3d/code_models/worker_inference.py

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -241,10 +241,11 @@ def load_layer(self):
241241
logger.debug(volume.shape)
242242
logger.debug(volume.dtype)
243243

244-
normalization = QuantileNormalization()
245-
# if self.config.model_info.name != "WNet"
246-
# else lambda x: x
247-
# )
244+
normalization = (
245+
QuantileNormalization()
246+
if self.config.model_info.name != "WNet"
247+
else lambda x: x
248+
)
248249
if self.config.sliding_window_config.is_enabled():
249250
load_transforms = Compose(
250251
[

0 commit comments

Comments
 (0)