Create “image” for ImageDataset #4096
-
I am trying to upload “image” with 8 channels for each subject (8,294,300,270) (1 is for T1w and 7 are for extracted Feature maps), to do this I just stack volumes to nn.Stack. I got following question:
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 7 replies
-
Hi @relyativist , Thanks for your interest here. Thanks. |
Beta Was this translation helpful? Give feedback.
-
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 tried to follow https://github.com/Project-MONAI/tutorials/blob/master/3d_segmentation/torch/unet_training_dict.py#L86, but stuck on |
Beta Was this translation helpful? Give feedback.
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:
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…