Skip to content

Add error message when image is smaller than patch size with preprocessing instructions #37

@msheller

Description

@msheller

We rely on preprocessing to ensure a minimum image size. If collaborators failed to run the preprocessor before executing the model code, they get a RuntimeError from torchio.

We could catch this error, and if it is the patch-size issue, instruct them to run pre-processing.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions