Last active
April 16, 2023 13:06
-
-
Save doleron/0bb9b95b0930929d6143df9ae990ae43 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
early_stop = tf.keras.callbacks.EarlyStopping(monitor='val_loss', patience = 10) | |
history = model.fit(train_ds, validation_data=validation_ds, epochs=EPOCHS, callbacks=[early_stop]) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment