Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

replace the PolynomialDecay、NoamDecay、LinearLrWarmup、ReduceLROnPlateau in fluid with 2.0 version #54806

Merged
merged 11 commits into from
Jun 30, 2023

Conversation

longranger2
Copy link
Contributor

@longranger2 longranger2 commented Jun 21, 2023

PR types

Others

PR changes

APIs

Description

  • remove the ReduceLROnPlateau in python/paddle/fluid/dygraph/learning_rate_scheduler.py and use ReduceOnPlateau in python/paddle/optimizer/lr.py to replace it.
  • remove the PolynomialDecay in python/paddle/fluid/dygraph/learning_rate_scheduler.py and use PolynomialDecay in python/paddle/optimizer/lr.py to replace it.
  • remove the LinearLrWarmup in python/paddle/fluid/dygraph/learning_rate_scheduler.py and use LinearLrWarmup in python/paddle/optimizer/lr.py to replace it.
  • remove the NoamDecay in python/paddle/fluid/dygraph/learning_rate_scheduler.py and use NoamDecay in python/paddle/optimizer/lr.py to replace it.

@paddle-bot
Copy link

paddle-bot bot commented Jun 21, 2023

你的PR提交成功,感谢你对开源项目的贡献!
请关注后续CI自动化测试结果,详情请参考Paddle-CI手册
Your PR has been submitted. Thanks for your contribution!
Please wait for the result of CI firstly. See Paddle CI Manual for details.

@paddle-bot paddle-bot bot added contributor External developers status: proposed labels Jun 21, 2023
Copy link
Contributor

@zoooo0820 zoooo0820 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

jeff41404
jeff41404 previously approved these changes Jun 26, 2023
Copy link
Contributor

@jeff41404 jeff41404 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

sunzhongkai588
sunzhongkai588 previously approved these changes Jun 27, 2023
Copy link
Contributor

@sunzhongkai588 sunzhongkai588 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

no doc'c changes. LGTM

sunzhongkai588
sunzhongkai588 previously approved these changes Jun 28, 2023
Copy link
Contributor

@sunzhongkai588 sunzhongkai588 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

no doc'c changes. LGTM

jeff41404
jeff41404 previously approved these changes Jun 28, 2023
Copy link

@leiqing1 leiqing1 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

English docs will be automatically deleted, while Chinese docs should be handled uniformly by framework students @sunzhongkai588

@jeff41404 jeff41404 merged commit 051e55c into PaddlePaddle:develop Jun 30, 2023
27 checks passed
@longranger2 longranger2 deleted the PolynomialDecay branch July 8, 2023 01:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
contributor External developers
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants