Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
# Epochs
epochs = 25
# Batch size
batch_size = 32
history = model.fit(train_datagen.flow(x_train,y_train,
batch_size=batch_size,
seed=27,
shuffle=False),
epochs=epochs,
steps_per_epoch=x_train.shape[0] // batch_size,
validation_data=(x_test,y_test),
verbose=1)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment