Replies: 1 comment 9 replies
-
Hi @jxchen01 , Thanks for your interest here. Thanks |
Beta Was this translation helpful? Give feedback.
9 replies
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.
-
I am trying to implement a CycleGAN-like dataloader. I can think of several different ways to do this in MONAI. Currently I am trying the following:
Then, I can do the random cropping transform
However, because images from domain B is much smaller than images from domain A,
RandSpatialCropSamplesd
can only do the random cropping within the common intersection region between an image from domain A and the other from domain B. In this case, the cropping will always happen on a small corner of the image from domain A (because image from domain B is much smaller).Is there a way to do the random crop sampling independently for
keys=["imageA", "imageB"]
?Many thanks!!
Jianxu
Beta Was this translation helpful? Give feedback.
All reactions