I used the above code for the augmentation but it worked just once on the image. When I tried for the second and third times it wasn’t applying any augmentation on the image. Whats the reason behind it???
When I used the code data_augmentator()(train_x[i], training =true) the code works fine and It applies the augmentation. But when the code has data_augmentator()(train_x[i]) it doesn’t work.