Skip to content

Commit f8810ad

Browse files
committed
fix: adress review comments about ensure_channel_first
1 parent d3dad8c commit f8810ad

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/dynunet_pipeline/transforms.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ def get_task_transforms(mode, task_id, pos_sample_num, neg_sample_num, num_sampl
4242
keys = ["image"]
4343

4444
load_transforms = [
45-
LoadImaged(keys=keys, image_only=False, ensure_channel_first=True),
45+
LoadImaged(keys=keys, image_only=False),
4646
EnsureChannelFirstd(keys=keys),
4747
]
4848
# 2. sampling

0 commit comments

Comments
 (0)