Skip to content

Commit

Permalink
lr floating division
Browse files Browse the repository at this point in the history
  • Loading branch information
soumith authored Mar 29, 2017
1 parent 75e435f commit c4b48c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion word_language_model/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ def train():
best_val_loss = val_loss
else:
# Anneal the learning rate if no improvement has been seen in the validation dataset.
lr /= 4
lr /= 4.0
except KeyboardInterrupt:
print('-' * 89)
print('Exiting from training early')
Expand Down

0 comments on commit c4b48c4

Please sign in to comment.