-
-
Save Sanlap1997/7fb11c457b13ee3a0a236cb7e76997e6 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
class LrHistory(tf.keras.callbacks.Callback): | |
def on_epoch_begin(self, epoch, logs={}): | |
print("Learning rate:", tf.keras.backend.get_value(model.optimizer.lr)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment