Haha yes, its a copy-paste issue. And yes sample_image is a dict with FLAIR, T1 and the mask. Do you have any suggestion why the network is not learning? I mean the dice score is constantly in the interval [0.01,0.02]. As I stated earlier, when I remove the augmentation, its commenting out 1 line of code, its suddenly learn and everything is fine😥