Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[QUESTION] Chapter 14: data_augmentation for classification of flowers not actually used? #90

Open
slievens opened this issue Jul 23, 2023 · 0 comments

Comments

@slievens
Copy link

slievens commented Jul 23, 2023

In cell 48 of the notebook, the variable data_augmentation is created:

data_augmentation = tf.keras.Sequential([
    tf.keras.layers.RandomFlip(mode="horizontal", seed=42),
    tf.keras.layers.RandomRotation(factor=0.05, seed=42),
    tf.keras.layers.RandomContrast(factor=0.2, seed=42)
])

However, it doesn't seem to be used when training/finetuning the model even though the text in the book mentions: "let's create a data augmentation model that we will embed in our final model". (page 519)

Probably, the data_augmentation model should be used before the Xception model is called?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant