Created
October 1, 2022 04:28
-
-
Save jkmackie/938eed48b9c51c0b534b850261708eb9 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Load and freeze VGG16 model. | |
# Include_top=False removes classification layer trained on ImageNet. | |
base_model = VGG16(weights="imagenet", include_top=False, input_shape=(224,224,3)) | |
base_model.trainable = False ## Not trainable weights | |
base_model.summary() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment