Suppose I want to standardize the input subtracting the mean per pixel and dividing by the standard deviation. Can I use the the whole training set to compute them? (I guess yes) And can I use the the whole dataset with also the test set? (I guess no)
Using the training set it is technically a violation of the rule to not use information from future images but not for the test set so I think It is legit. In other words, I’m asking if this rule applies only to image for which a prediction is requested. Thank you.