Skip to content

Instantly share code, notes, and snippets.

@kamal2230

kamal2230/mc7.py Secret

Created October 11, 2020 07:05
  • 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
Save kamal2230/dfa8224ea878ef72d50ebb4068b40765 to your computer and use it in GitHub Desktop.
history = model.fit_generator(
train_generator,
steps_per_epoch = np.ceil(2520/20), # 2520 images = batch_size * steps
epochs = 10,
validation_data=validation_generator,
validation_steps = np.ceil(372/20), # 372 images = batch_size * steps
callbacks=[callbacks],
verbose = 2)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment