Skip to content

Instantly share code, notes, and snippets.

@aniruddha27
Last active August 10, 2020 17:50
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Embed
What would you like to do?
# Compile
optim = RMSprop(learning_rate=0.00001)
model.compile(loss='categorical_crossentropy',
optimizer=optim,
metrics=['accuracy'])
# Fit
history = model.fit(x_train,y_train,
epochs=25,
validation_data=(x_test,y_test),
batch_size=32,
verbose=1)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment