-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Description
Problem
Torch proposes the ConcatDataset & ChainDataset. I do not find similar in Monai. My typical usage is to use different transforms on a set of images (not necessarily the same) to train my model. The different transforms handle different strategies of data augmentation depending on the image context (in my case object of interest near the border)
Desired Solution
The ideal solution is to create these Monai classes to handle the different transforms
** Alternative **
An alternative could be to use monai.transforms.OneOf to randomly choose one transform between all available. In my case is not suitable for my case since transform depends on some image context. My current workaround is to maintain a list of datasets and list of loaders. During the training, I loop over the loaders.
Additional context
I work on CT images with 128x128x128 patches