Created
February 18, 2023 17:08
-
-
Save radi-cho/ac5203c9e1b3d14e365b552db5ad01f4 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
model.compile(optimizer=Adam(3e-5)) | |
early_stopping = tf.keras.callbacks.EarlyStopping(monitor='loss', patience=3) | |
model.fit(tf_train_dataset, epochs=10, callbacks=[early_stopping]) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment