Skip to content

About using transforms.inverse #2572

@leeh43

Description

@leeh43

Hi, thank you for the great work in monai. I am having a problem on using transforms.inverse in monai. As I want to resample back to the original space of the images (with the same size of original images) and output the image as nifti with its original resolution, a runtime error occurs when I used the transforms.inverse. What do you recommend for the next steps?

Here is the screenshot of the transforms and the inverse code:
Screenshot from 2021-07-11 11-20-58
Screenshot from 2021-07-11 11-20-50

Thanks a lot!

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions