Skip to content

Commit df95c01

Browse files
refactor(dataloader): remove Normalize transformation from raw value transforms
1 parent 404e0f3 commit df95c01

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/cellmap_segmentation_challenge/utils/dataloader.py

-2
Original file line numberDiff line numberDiff line change
@@ -19,14 +19,12 @@ def get_dataloader(
1919
),
2020
train_raw_value_transforms: Optional[T.Transform] = T.Compose(
2121
[
22-
Normalize(),
2322
T.ToDtype(torch.float, scale=True),
2423
NaNtoNum({"nan": 0, "posinf": None, "neginf": None}),
2524
],
2625
),
2726
val_raw_value_transforms: Optional[T.Transform] = T.Compose(
2827
[
29-
Normalize(),
3028
T.ToDtype(torch.float, scale=True),
3129
NaNtoNum({"nan": 0, "posinf": None, "neginf": None}),
3230
],

0 commit comments

Comments
 (0)