How to use GridPatchDataset generate non-overlap patch data? #4058
Answered
by
Nic-Ma
lanslotttTT
asked this question in
Q&A
-
I want to use Monai produce non-overlap patch data with GridPatchDataset,it seemd that this class not support dict dataset,so I got the error, like below patch_size_ = get_valid_patch_size(arr.shape, patch_size)
AttributeError: 'dict' object has no attribute 'shape' what should I do? |
Beta Was this translation helpful? Give feedback.
Answered by
Nic-Ma
Apr 4, 2022
Replies: 1 comment 1 reply
-
Hi @lanslotttTT , Thanks for your feedback. Thanks. |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
lanslotttTT
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi @lanslotttTT ,
Thanks for your feedback.
Looks we should add support for
dict
data, like aPatchIterd
class.I will take a deeper look, track in #4060.
Thanks.