Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Built in VGG16 network with Keras
from keras.optimizers import SGD
from keras.applications.vgg16 import VGG16
model = VGG16(weight='imagenet', include_top=True)
sgd = SGD(lr=0.1, decay=1e-6, momentum=0.9, nesterov=True)
model.compile(optimizer=sgd, loss='categorical)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.