Skip to content

Instantly share code, notes, and snippets.

@shashankprasanna
Created March 14, 2020 00:13
Show Gist options
  • Save shashankprasanna/44298a0496332250152f8ba06a5cf344 to your computer and use it in GitHub Desktop.
Save shashankprasanna/44298a0496332250152f8ba06a5cf344 to your computer and use it in GitHub Desktop.
history = model.fit(train_dataset,
steps_per_epoch = (NUM_TRAIN_IMAGES // batch_size) // size,
validation_data = val_dataset,
validation_steps = (NUM_VALID_IMAGES // batch_size) // size,
verbose = 1 if hvd.rank() == 0 else 0,
epochs = epochs, callbacks=callbacks)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment