Skip to content

Instantly share code, notes, and snippets.

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