Skip to content
This repository was archived by the owner on Mar 21, 2024. It is now read-only.

Commit 50ab8b7

Browse files
author
melanibe
committed
PR comment
1 parent e25b8cc commit 50ab8b7

File tree

1 file changed

+8
-5
lines changed

1 file changed

+8
-5
lines changed

CHANGELOG.md

+8-5
Original file line numberDiff line numberDiff line change
@@ -109,14 +109,17 @@ console for easier diagnostics.
109109
the `LightningContainer` class has been renamed to `before_training_on_global_rank_zero`. The order in which the
110110
hooks are called has been changed.
111111
- ([#458](https://github.com/microsoft/InnerEye-DeepLearning/pull/458)) Simplifying and generalizing the way we handle
112-
data augmentations: The pipelining logic is now taken care of by a ImageTransformPipeline class that takes as
113-
input a list of transforms to chain together. This pipeline takes of applying transforms on 3D or 2D images.
114-
The user can choose to apply the same transformation for all channels (RGB example) or whether to apply different
115-
transformation for each channel (if each channel represents a different
112+
data augmentations for classification models. The pipelining logic is now taken care of by a ImageTransformPipeline
113+
class that takes as input a list of transforms to chain together. This pipeline takes of applying transforms on 3D or
114+
2D images. The user can choose to apply the same transformation for all channels (RGB example) or whether to apply
115+
different transformation for each channel (if each channel represents a different
116116
modality / time point for example). The pipeline can now work directly with out-of-the box torchvision transform
117117
(as long as they support [..., C, H, W] inputs). This allows to get rid of nearly all of our custom augmentations
118118
functions. The conversion from pipeline of image transformation to ScalarItemAugmentation is now taken care of under
119-
the hood, the user does not need to call this wrapper for each config class.
119+
the hood, the user does not need to call this wrapper for each config class. In models derived from ScalarModelConfig
120+
to change which augmentations are applied to the images inputs (resp. segmentations inputs), users can override
121+
`get_image_transform` (resp. `get_segmentation_transform`). These two functions replace the old
122+
`get_image_sample_transforms` method. See `docs/building_models.md` for more information on augmentations.
120123

121124
### Fixed
122125

0 commit comments

Comments
 (0)