Skip to content

Dictionary version of Monai Transpose #3987

Description

@Alberto1404

Hello all. In the task I am working on, I am incorrectly reading the volume images with CacheDataset, because the shape they have is HxWxD. When creating the loader, I want shape (B,C,D,H,W), and I am getting (B,C,H,W,D). I saw the transformation transpose, that should be enough passing the correct indexes as arguments. Nevertheless, I am dealing with a dictionary in my loaders, with keys ['image'] and ['label']. Would it be possible to have a "Transposed" in the docs?
Thank you for your time

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions