Replies: 1 comment 3 replies
-
Hi @robsver, thanks for you interest here. In some random transforms, we have MONAI/monai/transforms/croppad/array.py Line 993 in bf55f22
Hope it can help you, thanks! |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi all,
I am wondering how to run image augmentation during a training.
Let me explain it more in details:
I load the images (3D) by using ImageDataset and DataLoader from MONAI infrastructure.
Starting from each single patient, I want to obtain 10 more different new images by applying some transforms (that I define in the code) in a random order and by using a random combination of parameters for each transform.
In addition, I don't want to feed the model with a series of images coming from the same patient even if augmented (e.g. img1, img1_augmented_version1, img1_augmented_version2, img2, img2_augmented_version1, img2_augmented_version2), but I want to show them into shuffled order (e.g. img1, img2_augmented_version3, img1_augmented_version6, img5, etc...).
Do you have any suggestions?
Thank you very much in advance.
Best,
Roberto
Beta Was this translation helpful? Give feedback.
All reactions