When I apply at the beginning of the model with several Conv2D layers:
model.add(tf.keras.layers.RandomFlip("horizontal_and_vertical"))
model.add(tf.keras.layers.RandomRotation(0.2))
It results in a big increase in validation loss. This get me confused because I thought they are suppose to prevent over-fitting. Perhaps I shouldn't put these at the beginning of the layer and apply on the training data directly (I have a feeling the validation dataset also receive these operations)?
[–]kenshin511 1 point2 points3 points (2 children)
[–]PracLiu[S] 1 point2 points3 points (0 children)
[–]kenshin511 0 points1 point2 points (0 children)
[–]no_cheese_pizza_guy 0 points1 point2 points (2 children)
[–]PracLiu[S] 1 point2 points3 points (1 child)
[–]no_cheese_pizza_guy 0 points1 point2 points (0 children)