emredo opened this issue 3 years ago · 1 comments
model.add(Lambda(lambda x: x / 127.5 - 1., input_shape=(image_x, image_y, 1)))
What does lambda layer actually do? Other words, why is it divided by 127.5 and -1 ?
I noticed that the layer is normalising the pixel values between -1 and 1.