Skip to content

Instantly share code, notes, and snippets.

@sadimanna
Last active July 30, 2020 06:22
Show Gist options
  • Select an option

  • Save sadimanna/ff6cbe2880543f18a32e1fcc0b847878 to your computer and use it in GitHub Desktop.

Select an option

Save sadimanna/ff6cbe2880543f18a32e1fcc0b847878 to your computer and use it in GitHub Desktop.
model.compile(optimizer = tf.keras.optimizers.Adam(0.00001),
loss = loss_fn,
metrics = [tf.keras.metrics.BinaryAccuracy(),tf.keras.metrics.AUC()])
history = model.fit(train_datagen, epochs = 10, verbose = 1, validation_data = valid_datagen, shuffle = True)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment