I'm using ImageDataGenerator() (from tensorflow.keras.preprocessing.image) so the arguments "samplewise_center" and "samplewise_std_normalization" set to True to center and normalize the data in training and validation separately
I don't understand how to apply the same transformation on the test data during submission. What function we can use to apply the same transformation on preprocessing in the predict method of the model.py file?
Thanks in advance