Skip to content

Instantly share code, notes, and snippets.

@ozgurshn
Created June 21, 2018 22:48
Show Gist options
  • Save ozgurshn/fa5034de0f2710c89d9091aac6f10aa2 to your computer and use it in GitHub Desktop.
Save ozgurshn/fa5034de0f2710c89d9091aac6f10aa2 to your computer and use it in GitHub Desktop.
def compile_model(compiledModel):
compiledModel.compile(loss=keras.losses.categorical_crossentropy,
optimizer=Adadelta(),
metrics=['accuracy'])
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment