Artificial Neural Networks and Deep Learning 2021 - Homework 1 Forum

Go back to competition Back to thread list Post in this thread

> Centering and std normalization on data in input

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

Posted by: Stefanoderr @ Nov. 25, 2021, 12:17 a.m.
Post in this thread