Skip to content

Commit

Permalink
Update worker_training.py
Browse files Browse the repository at this point in the history
  • Loading branch information
C-Achard committed Dec 21, 2024
1 parent a76037c commit f722137
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion napari_cellseg3d/code_models/worker_training.py
Original file line number Diff line number Diff line change
Expand Up @@ -281,7 +281,11 @@ def get_dataset(self, train_transforms):
load_single_images = Compose(
[
LoadImaged(keys=["image"]),
EnsureChannelFirstd(keys=["image"], channel_dim="no_channel", strict_check=False),
EnsureChannelFirstd(
keys=["image"],
channel_dim="no_channel",
strict_check=False,
),
Orientationd(keys=["image"], axcodes="PLI"),
SpatialPadd(
keys=["image"],
Expand Down

0 comments on commit f722137

Please sign in to comment.