Skip to content

Commit

Permalink
fix unittest
Browse files Browse the repository at this point in the history
  • Loading branch information
Asthestarsfalll committed Sep 25, 2023
1 parent ddd8fc4 commit 8af28f6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/legacy_test/test_lr_scheduler.py
Original file line number Diff line number Diff line change
Expand Up @@ -987,7 +987,7 @@ def test_scheduler(self):
paddle.optimizer.lr.LinearLR,
{
"learning_rate": 0.2,
"total_steps:": 40,
"total_steps": 40,
"start_factor": 0.5,
"end_factor": 1,
"verbose": False,
Expand All @@ -998,7 +998,7 @@ def test_scheduler(self):
paddle.optimizer.lr.LinearLR,
{
"learning_rate": 0.2,
"total_steps:": 5,
"total_steps": 5,
"start_factor": 0.2,
"end_factor": 0.5,
"verbose": False,
Expand Down

0 comments on commit 8af28f6

Please sign in to comment.