@@ -109,14 +109,17 @@ console for easier diagnostics.
109
109
the ` LightningContainer ` class has been renamed to ` before_training_on_global_rank_zero ` . The order in which the
110
110
hooks are called has been changed.
111
111
- ([ #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
116
116
modality / time point for example). The pipeline can now work directly with out-of-the box torchvision transform
117
117
(as long as they support [ ..., C, H, W] inputs). This allows to get rid of nearly all of our custom augmentations
118
118
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.
120
123
121
124
### Fixed
122
125
0 commit comments