My augmentations feel wrong #7943
Replies: 2 comments 5 replies
-
Hi @p-iosifidis, thanks for your interest here. Hope it helps, thanks. |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
Hello guys, splendid work with the monai framework, i've been enjoying writing with it for the past couple of months.
I've got a terrible predicament with data augmentations though... and i think that i'm doing something wrong but i can't spot it.
For context: i have preclinical CMR experimental data with myocardium and left ventricle annotations.
The data are are 96 3D blocks 256x256x(7-9) which i preprocess using a 1% value clip to get rid of the various maximization of a 16bit nifti image, then N4ITK bias field correction and finally crop these to 128x128.
As for the depth axis i'm zero padding in my custom dataloader to 128x128x16.
I figured i'd start by using Unet with residual blocks to get a baseline, got about an 80% mean dice.
Then i though to myself, okay time to blast it with some vision transformers and see what the clout is about.
This gave me an 87.51% mean dice which made me really happy!
Then i thought i'd start using data augmentations due to the limited data I've had. The problem is it makes the mean dice deteriorate, hard. As such:
The transforms that i'm using are these:
I verified they worked by taking a good look at the output shapes and did a visual inspection on a 2D slice (got a very cool looking spider head!):
Thus my question is, am i doing aggressive over-augmentation or are my augmentation thoughts completely wrong?
Thanks in advance for any pointers to troubleshooting this.
Beta Was this translation helpful? Give feedback.
All reactions