Skip to content

Instantly share code, notes, and snippets.

@dpoulopoulos
Created January 20, 2022 14:35
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 dpoulopoulos/aec4b831be8f14682dd1df0da349cba8 to your computer and use it in GitHub Desktop.
Save dpoulopoulos/aec4b831be8f14682dd1df0da349cba8 to your computer and use it in GitHub Desktop.
BATCH_SIZE = 64
train_data = tf.data.Dataset(...).batch(BATCH_SIZE)
model = tf.keras.Sequential(...)
model.compile(...)
model.fit(train_data, epochs=4)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment