Skip to content
Discussion options

You must be logged in to vote

Hey @Nic-Ma, thanks for quick response. I am being unclear about details. What I was asking is how data with dict can be uploaded to Dataset?
I have input list of key, "image" and "seg" pair. With multiple "image" channels:

[{'image': {'t1': '8.nii.gz',
   'curv': 'curv.nii.gz',
   'sulc': 'sulc.nii.gz',
   'contrast1: 'contrast1.nii.gz',
   'contrast2': 'contrast2.nii.gz',
   'glcm': 'glcm.nii.gz',
   'contrast3': 'contrast3.nii.gz',
   'contrast4': 'contrast4.nii.gz'},
  'label': 'label_8.nii.gz'},
  ...
  {}]

I tried to follow https://github.com/Project-MONAI/tutorials/blob/master/3d_segmentation/torch/unet_training_dict.py#L86, but stuck on check_ds = monai.data.Dataset(data=train_fi…

Replies: 2 comments 7 replies

Comment options

You must be logged in to vote
1 reply
@Nic-Ma
Comment options

Comment options

You must be logged in to vote
6 replies
@relyativist
Comment options

@relyativist
Comment options

@Nic-Ma
Comment options

@relyativist
Comment options

@Nic-Ma
Comment options

Answer selected by relyativist
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants