Skip to content

Commit

Permalink
Stop making 2D images 3D
Browse files Browse the repository at this point in the history
  • Loading branch information
fepegar committed Dec 29, 2020
1 parent 2e7828d commit ec19bc3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/transforms/test_transforms.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ def get_transform(self, channels, is_3d=True, labels=True):
tio.CropOrPad(cp_args),
tio.ToCanonical(),
tio.RandomAnisotropy(downsampling=(1.75, 2), axes=axes_downsample),
tio.EnsureShapeMultiple(2),
tio.EnsureShapeMultiple(2, method='crop'),
tio.Resample((1, 1.1, 1.25)),
tio.RandomFlip(axes=flip_axes, flip_probability=1),
tio.RandomMotion(),
Expand Down

0 comments on commit ec19bc3

Please sign in to comment.