Skip to content

Instantly share code, notes, and snippets.

@stormsson
Created June 11, 2018 13:42
Show Gist options
  • Save stormsson/6cd5eb9af6a804742311987607062a32 to your computer and use it in GitHub Desktop.
Save stormsson/6cd5eb9af6a804742311987607062a32 to your computer and use it in GitHub Desktop.
import keras
import numpy as np
from keras.applications import vgg16, inception_v3, resnet50, mobilenet
#Load the VGG model
vgg_model = vgg16.VGG16(weights='imagenet')
#Load the Inception_V3 model
inception_model = inception_v3.InceptionV3(weights='imagenet')
#Load the ResNet50 model
resnet_model = resnet50.ResNet50(weights='imagenet')
#Load the MobileNet model
mobilenet_model = mobilenet.MobileNet(weights='imagenet')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment