Skip to content

Tensor computation for Brats transforms #2819

@Nic-Ma

Description

@Nic-Ma

Is your feature request related to a problem? Please describe.
Hi @rijobro ,

Thanks for your great work on the Tensor-based transforms.
We are working on optimizing the Brats tutorial performance:
https://github.com/Project-MONAI/tutorials/blob/master/3d_segmentation/brats_segmentation_3d.ipynb
And there are several random transforms in it, it may be helpful to move data to GPU Tensor, so is it possible to add Tensor support for the below 4 transforms first?

RandFlipd(keys=["image", "label"], prob=0.5, spatial_axis=0),
NormalizeIntensityd(keys="image", nonzero=True, channel_wise=True),
RandScaleIntensityd(keys="image", factors=0.1, prob=1.0),
RandShiftIntensityd(keys="image", offsets=0.1, prob=1.0),

I am not sure whether you have implemented them in Tensor locally?

Thanks in advance.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions