-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
merge master
merge master
merge master
merge master
Signed-off-by: Nic Ma <nma@nvidia.com>
Signed-off-by: Nic Ma <nma@nvidia.com>
|
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 <nma@nvidia.com>
Signed-off-by: Nic Ma <nma@nvidia.com>
ca11ac6 to
7358326
Compare
Signed-off-by: Nic Ma <nma@nvidia.com>
Signed-off-by: Nic Ma <nma@nvidia.com>
|
Thanks, would it be useful to make this invertible? |
|
Was partly discussed here #2004 |
Signed-off-by: Nic Ma <nma@nvidia.com>
Signed-off-by: Nic Ma <nma@nvidia.com>
|
/black |
Signed-off-by: Nic Ma <nma@nvidia.com>
|
/black |
…m part of dataset (Project-MONAI#2667) * [DLMED] add RandCompose Signed-off-by: Nic Ma <nma@nvidia.com> * [DLMED] add unit tests Signed-off-by: Nic Ma <nma@nvidia.com> * [DLMED] change to enhance RandLambda Signed-off-by: Nic Ma <nma@nvidia.com> * [DLMED] remove RandCompose Signed-off-by: Nic Ma <nma@nvidia.com> * [DLMED] fix format Signed-off-by: Nic Ma <nma@nvidia.com> * [DLMED] enhance doc Signed-off-by: Nic Ma <nma@nvidia.com> * [DLMED] add inverse operation Signed-off-by: Nic Ma <nma@nvidia.com> * [DLMED] add more tests Signed-off-by: Nic Ma <nma@nvidia.com> * [DLMED] fix subprogress issue Signed-off-by: Nic Ma <nma@nvidia.com>
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.