Skip to content

Add SomeOf in monai.transforms.Compose  #5312

@visionNoob

Description

@visionNoob

Is your feature request related to a problem? Please describe.
I think although "SomeOf" is very useful feature for data augmentation and its easy implementation,
there is no feature for "SomeOf" in monai transforms (Only naive compose and OneOf are implemented)
https://docs.monai.io/en/stable/_modules/monai/transforms/compose.html#OneOf

Describe the solution you'd like
Adding SomeOf class with reference to albumentation's (https://github.com/albumentations-team/albumentations/blob/master/albumentations/core/composition.py#L332)

Describe alternatives you've considered
I would like to implement SomeOf feature and contribute to MONAI.

Additional context
none

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions