2648 Enhance RandLambda to execute deterministic transforms for random part of dataset#2667
Conversation
Signed-off-by: Nic Ma <[email protected]>
|
Doesn't this imply that we should just implement |
|
Hi @rijobro , The basic idea of this Thanks. |
|
My question is why this implemented as a special compose method, in the example prob=0.2 for Resized, prob=0.3 for CenterSpatialCropd, and prob0.4 for ThresholdIntensityd are all independent events. Instead, I think each of them could be implemented with a transform wrapper inheriting the |
|
Hi @wyli , Thanks for your suggestion. Thanks. |
|
I think enhancing |
Signed-off-by: Nic Ma <[email protected]>
Signed-off-by: Nic Ma <[email protected]>
ca11ac6 to
7358326
Compare
Signed-off-by: Nic Ma <[email protected]>
Signed-off-by: Nic Ma <[email protected]>
|
Thanks, would it be useful to make this invertible? |
|
Was partly discussed here #2004 |
Signed-off-by: Nic Ma <[email protected]>
Signed-off-by: Nic Ma <[email protected]>
|
/black |
Signed-off-by: Nic Ma <[email protected]>
|
/black |
…m part of dataset (Project-MONAI#2667) * [DLMED] add RandCompose Signed-off-by: Nic Ma <[email protected]> * [DLMED] add unit tests Signed-off-by: Nic Ma <[email protected]> * [DLMED] change to enhance RandLambda Signed-off-by: Nic Ma <[email protected]> * [DLMED] remove RandCompose Signed-off-by: Nic Ma <[email protected]> * [DLMED] fix format Signed-off-by: Nic Ma <[email protected]> * [DLMED] enhance doc Signed-off-by: Nic Ma <[email protected]> * [DLMED] add inverse operation Signed-off-by: Nic Ma <[email protected]> * [DLMED] add more tests Signed-off-by: Nic Ma <[email protected]> * [DLMED] fix subprogress issue Signed-off-by: Nic Ma <[email protected]>
part of #2648 .
Description
This PR enhanced the
RandLambdadtransform and also added array versionRandLambdatransform to execute transform for random part of dataset.Status
Ready
Types of changes
./runtests.sh -f -u --net --coverage../runtests.sh --quick --unittests.make htmlcommand in thedocs/folder.