Skip to content

Issues and any examples for using 3D MRI Datasets and Transformation? #34

@arvinhui

Description

@arvinhui

Hello all.

May I know if how to use the captioned functions that was recently added?

I could not find any examples or guide to follow. Very much appreciated!

Here is my code:

filenames = namedtuple('filenames', 'input_filename gt_filename')
filenametuple = filenames(mri_input_filename, mri_gt_filename)

pair = mt_datasets.MRI3DSegmentationDataset(filenametuple)

and it gives out the following output:

338 
339     def _load_filenames(self):

--> 340 for input_filename, gt_filename in self.filename_pairs:
341 segpair = SegmentationPair2D(input_filename, gt_filename,
342 self.cache, self.canonical)

ValueError: too many values to unpack (expected 2)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions