Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

You miss an 'n' #90

Open
DylanWusee opened this issue Nov 5, 2018 · 1 comment
Open

You miss an 'n' #90

DylanWusee opened this issue Nov 5, 2018 · 1 comment

Comments

@DylanWusee
Copy link

Hi,

Just want to remind that you miss an 'n' in your get_learning_rate function.

### learing_rate = tf.maximum(learning_rate, 0.00001) # CLIP THE LEARNING RATE!

def get_learning_rate(batch):
learning_rate = tf.train.exponential_decay(
BASE_LEARNING_RATE, # Base learning rate.
batch * BATCH_SIZE, # Current index into the dataset.
DECAY_STEP, # Decay step.
DECAY_RATE, # Decay rate.
staircase=True)
learing_rate = tf.maximum(learning_rate, 0.00001) # CLIP THE LEARNING RATE!
return learning_rate

@chenzhutian
Copy link

PR has been raised
#101

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants