-
Notifications
You must be signed in to change notification settings - Fork 1.2k
2648 Enhance RandLambda to execute deterministic transforms for random part of dataset #2667
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
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
RandLambdad
transform and also added array versionRandLambda
transform to execute transform for random part of dataset.Status
Ready
Types of changes
./runtests.sh -f -u --net --coverage
../runtests.sh --quick --unittests
.make html
command in thedocs/
folder.