Skip to content

Commit

Permalink
fix format. test=develop
Browse files Browse the repository at this point in the history
  • Loading branch information
heavengate committed Oct 10, 2020
1 parent 4d5e51a commit f39a396
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions python/paddle/hapi/model.py
Original file line number Diff line number Diff line change
Expand Up @@ -1465,8 +1465,8 @@ def fit(
cbks.on_end('eval', eval_logs)

# step learning rate scheduler on each epcoh end
if isinstance(self._optimizer._learning_rate,
paddle.optimizer._LRScheduler):
if isinstance(self._optimizer._learning_rate,
paddle.optimizer._LRScheduler):
self._optimizer._learning_rate.step()

cbks.on_end('train', logs)
Expand Down

0 comments on commit f39a396

Please sign in to comment.