i fond a bug about monai.transforms.RandSpatialCropd ? #4710
Unanswered
darlingbud
asked this question in
Q&A
Replies: 1 comment 1 reply
-
sorry, i find the reason ,the imread from different Lib have different result ,sometimes WH sometimes HW . |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
the scence is
RandSpatialCropd(keys=["img", "label", "dist"], roi_size=(256,256), random_size=False)
and original
data ={ "img": img, "label" : label, "dist" :dist }
img.shape=( 3, 383,512) , label.shape=(1,383,512) , dist.shape=( 32, 383,512)
after
data=RandSpatialCropd(data)
operation ,i got thedata
img.shape=( 3, 256,256) , label.shape=(1,208,256) , dist.shape=( 32, 208,512)
is this a BUG ? or i just mistake something about the function ?
Beta Was this translation helpful? Give feedback.
All reactions