Skip to content

Instantly share code, notes, and snippets.

@VedPDubey
Created July 9, 2021 06:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save VedPDubey/3a7efc916e68e20c9669b855595e5f91 to your computer and use it in GitHub Desktop.
Save VedPDubey/3a7efc916e68e20c9669b855595e5f91 to your computer and use it in GitHub Desktop.
epochs = 50
batch_size = 16
history = model.fit(train_images,train_labels,
batch_size=batch_size,
steps_per_epoch=len(train_images)//batch_size,
epochs=epochs,
verbose=1,
validation_data=(val_images,val_labels),
validation_steps=len(val_images)//batch_size,
callbacks=callbacks
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment