Created
March 5, 2017 20:40
-
-
Save neotheicebird/ab3307b6ff203744b3e0540f29cf1c4c to your computer and use it in GitHub Desktop.
A staircase learning rate decay #tensorflow
This file contains hidden or 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
# Ref: https://github.com/ericjang/genadv_tutorial/blob/master/genadv1.ipynb | |
learning_rate = tf.train.exponential_decay( | |
0.001, # Base learning rate. | |
batch, # Current index into the dataset. | |
TRAIN_ITERS // 4, # Decay step - this decays 4 times throughout training process. | |
0.95, # Decay rate. | |
staircase=True) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment