You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
So x_temp[..., 2] now correctly refers to the R channel, from which we subtract the larger mean. So this code indeed appears correct. Does this sound about right?
Here we see the preprocessing from the official source:
https://github.com/keras-team/keras-preprocessing/blob/master/keras_preprocessing/image/utils.py
The means are:
(131.0912, 103.8827, 91.4953)
while in this repository we have
It appears to me that both sources (this repository and the official source) use RGB channel order, so they should use the same order for the means.
The official order makes sense, because there is more red (131) than blue (91), and this appears right for face images.
Am I missing something or is this an error?
Thank you for your response!
Vincenzo
The text was updated successfully, but these errors were encountered: