Skip to content

3D image transforms using own data #831

@carlpe

Description

@carlpe

Using Ubuntu server 18.04.

I have been testing some of the interesting tutorials on Monai. They are all functioning as expected.
I am now trying to use some own MR data for some of these tutorials, for example the 3D_image_transform tutorial, but I am encountering some errors which raises some questions.

The files I want to use for this are:
T1 image: /home/titan/data/test/images/test_009.nii
Label: /home/titan/data/test/labels/test_009.nii.gz

I have named them in such a way to match the filenames in the spleen decathlon set. Do the filenames of the dataset need to follow a certain pattern?

As you see on the below screenshot, I get the error when trying to organize the file names into a list of dictionaries.

image

How do I deal with this issue? It might be a very easy question for some of you, but it might be helpful to some of us beginners nonetheless.

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    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