Created
October 25, 2019 23:10
-
-
Save jasonsalas/f18bf4924dab249215ad8eb394646d09 to your computer and use it in GitHub Desktop.
Download pre-trained VGG16 model on ImageNet weights
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
from keras.applications.vgg16 import VGG16 | |
model = VGG16(weights='imagenet') | |
model.save('model_vgg16_imagenet.h5') | |
print('Pre-trained VGG16 model with ImageNet weights saved!') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment