Closed MichaelMonashev closed 5 years ago
This is not equal! before:
x /= 128.
x -= 1.
now:
x /= 127.5
x -= 1.
Thank you for the report, @MichaelMonashev. We must synchronize with tensorflow-models which is an origin of the pre-trained weights in MobileNetv2. Thus, the number that is used in tensorflow-models, 127.5, is correct.
After this commit https://github.com/keras-team/keras-applications/commit/5f99f5238d83f1d9b9822ad750d2d8f1e017af92 I think pretrained weights have to be changed too.