Skip to content

Instantly share code, notes, and snippets.

@GeorgeSeif
Created October 14, 2019 00:42
Show Gist options
  • Save GeorgeSeif/87188d5189e709debf504f9a80776515 to your computer and use it in GitHub Desktop.
Save GeorgeSeif/87188d5189e709debf504f9a80776515 to your computer and use it in GitHub Desktop.
adam = optimizers.Adam(lr=0.0001)
model.compile(adam, loss='categorical_crossentropy', metrics=["accuracy"])
history = model.fit(train_images, train_labels, epochs=10,
validation_data=(test_images, test_labels))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment