Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
arvinhui opened this issue Dec 8, 2019 · 0 comments
Open

Comments

@arvinhui
Copy link

arvinhui commented Dec 8, 2019

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)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant