Lines fit line limit now
This commit is contained in:
parent
8deca6b4c8
commit
cd1481f6ee
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user