Lines fit line limit now

This commit is contained in:
aweers 2019-05-03 16:38:55 +02:00 committed by GitHub
parent 8deca6b4c8
commit cd1481f6ee
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1170,9 +1170,8 @@ class LearningRateScheduler(Callback):
verbose: int. 0: quiet, 1: update messages. verbose: int. 0: quiet, 1: update messages.
```python ```python
# This function keeps the learning rate # This function keeps the learning rate at 0.001 for the first ten epochs
# at 0.001 for the first ten epochs and # and decreases it exponentially after that.
# decreases it exponentially after that.
def scheduler(epoch): def scheduler(epoch):
if epoch < 10: if epoch < 10:
return 0.001 return 0.001